mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 20:52:53 +08:00
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
44 lines
671 B
SCSS
Vendored
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;
|
|
}
|
|
}
|
|
}
|