Compare commits

...

2 Commits

Author SHA1 Message Date
1fe9d8237b wip 2025-03-27 21:09:09 -07:00
96044136f0 Mobile improvements
- Post preview is wider when look at the list of posts
- Hide the topic navigation that is useless on mobile
2025-03-27 21:06:11 -07:00

View File

@ -80,6 +80,10 @@ html body.staff:not(.navigation-topics) #main-outlet {
margin-bottom: 0; margin-bottom: 0;
} }
html body.navigation-category #main-outlet {
width: calc(100% - 1em);
}
.container.posts > .row { .container.posts > .row {
max-width: calc(100vw - 1.5em); max-width: calc(100vw - 1.5em);
} }
@ -135,6 +139,10 @@ ol.category-breadcrumb {
max-width: unset; max-width: unset;
} }
.topic-list .topic-list-data .main-link {
width: 90%;
}
.custom-search-banner-wrap .search-context { .custom-search-banner-wrap .search-context {
top: 3em !important; top: 3em !important;
} }
@ -256,6 +264,11 @@ ol.category-breadcrumb {
color: var(--secondary); color: var(--secondary);
} }
// Hide the "4/7" topic navigation when on mobile since it's always stuck to the bottom anyway.
.topic-navigation {
display: none !important;
}
// Footer // Footer
.custom-footer { .custom-footer {
.list { .list {