fix: reduce anime sidebar spacing with css columns
This commit is contained in:
@@ -721,9 +721,8 @@ a:visited {
|
|||||||
.anime-sidebar {
|
.anime-sidebar {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
display: grid;
|
columns: 2;
|
||||||
grid-template-columns: repeat(2, 1fr);
|
column-gap: 8px;
|
||||||
gap: 12px;
|
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
@@ -733,7 +732,9 @@ a:visited {
|
|||||||
.sidebar-row {
|
.sidebar-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 4px;
|
gap: 2px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-label {
|
.sidebar-label {
|
||||||
|
|||||||
Reference in New Issue
Block a user