discourse/app/assets/stylesheets/common/base/faqs.scss
Kris 156fb29753
UX: remove old about page CSS (#33755)
Fixes the group width issue reported here:
https://meta.discourse.org/t/additional-groups-on-about-page-are-not-aligned-with-the-default-groups/374854

<img width="1736" height="1450" alt="image"
src="https://github.com/user-attachments/assets/5d5b464a-4359-4459-855a-7e8bb9380c3a"
/>


Where additional groups aren't the same width. This is because we had a
blanket min-width on section elements for the old about page.

This CSS doesn't seem to be necessary after the about page redesign in
6039b513fe
2025-07-22 17:43:43 -04:00

44 lines
671 B
SCSS
Vendored

.body-page {
/* covers /about, /faq, /guidelines, /tos, /privacy, and login-required */
max-width: 700px;
background: var(--d-content-background);
.about-page & {
max-width: unset;
.about.category-moderators {
.badge-category__wrapper .badge-category {
color: var(--primary);
}
}
}
.mobile-view & {
font-size: var(--font-0);
}
li {
margin-bottom: 8px;
}
.nav-pills {
margin: 0 0 2em;
}
ul:not(.nav-pills),
ol:not(.nav-pills) {
margin-left: 40px;
}
}
.body-page-button-container {
display: flex;
button {
margin-right: 1rem;
&:last-child {
margin-right: 0;
}
}
}