fix: move favorite star to top-right to avoid overlapping with checkbox
This commit is contained in:
@@ -96,11 +96,11 @@
|
|||||||
|
|
||||||
/* ── Star badge on file/folder cards (normal view) ── */
|
/* ── Star badge on file/folder cards (normal view) ── */
|
||||||
|
|
||||||
/* Grid view: star in top-left corner */
|
/* Grid view: star below the checkbox */
|
||||||
.file-card .favorite-star {
|
.file-card .favorite-star {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 8px;
|
top: 10px;
|
||||||
left: 8px;
|
right: 38px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #ffc107;
|
color: #ffc107;
|
||||||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
|
||||||
@@ -108,8 +108,8 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
[dir='rtl'] & {
|
[dir='rtl'] & {
|
||||||
left: unset;
|
right: unset;
|
||||||
right: 8px;
|
left: 38px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user