Fix PlaylistManager grid view margins and content width
- Remove fixed header height, only show margin when drag handle present - Constrain info and footer to 160px width (same as artwork) - Center info and footer to align with artwork
This commit is contained in:
1 parent
07431f8759
commit
1760a394ce
1 file changed
+17
-4
@@ -1049,13 +1049,20 @@
|
|||||||
border: 2px dashed var(--accent-primary);
|
border: 2px dashed var(--accent-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Grid item header: drag handle left, edit button right */
|
/* Grid item header: drag handle only (when in custom sort) */
|
||||||
.grid-item-header {
|
.grid-item-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 24px;
|
min-height: 0;
|
||||||
margin-bottom: 6px;
|
}
|
||||||
|
|
||||||
|
.grid-item-header:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-item-header:has(.drag-handle) {
|
||||||
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-item .drag-handle {
|
.grid-item .drag-handle {
|
||||||
@@ -1146,6 +1153,9 @@
|
|||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
width: 160px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-actions {
|
.footer-actions {
|
||||||
@@ -1209,6 +1219,9 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
width: 160px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-item .name {
|
.grid-item .name {
|
||||||
|
|||||||
Reference in new issue
Block a user