mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-10 05:12:32 +01:00
Fix margins for narrow screens
This commit is contained in:
parent
e3d611c7fa
commit
44642d6480
@ -59,9 +59,11 @@ body.sepia header .tabmenu li.active a {
|
|||||||
color: var(--headertext);
|
color: var(--headertext);
|
||||||
}
|
}
|
||||||
body.sepia #links {
|
body.sepia #links {
|
||||||
margin: 4px 16px; /* Only when width has certain minimum */
|
max-width: calc(100% - 32px);
|
||||||
|
margin: 4px 16px;
|
||||||
}
|
}
|
||||||
body.sepia #links .link {
|
body.sepia #links .link {
|
||||||
|
width: calc(100% - 8px);
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
padding: 16px 8px 16px 0;
|
padding: 16px 8px 16px 0;
|
||||||
background: var(--linkbg);
|
background: var(--linkbg);
|
||||||
|
Loading…
Reference in New Issue
Block a user