2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-05 15:27:34 +08:00
discourse/app/assets/stylesheets/desktop/topic.scss
Kris 2a1dae078b
DEV: refactor topic-post CSS into shared common file (#37678)
This takes all the CSS in `mobile/topic-posts.scss` and
`desktop/topic-post.scss` and integrates it into
`common/base/topic-posts.scss` using breakpoints.

There was a good amount of "embedded post" CSS, so that seemed like a
clear case where a new file could help organize.

Some cases of dead or redundant CSS were deleted or combined. 

There shouldn't be any significant visual changes due to these changes.
2026-02-10 12:18:36 -05:00

28 lines
528 B
SCSS

.post-menu-area {
position: relative;
padding-left: var(--topic-body-width-padding);
margin: 20px 0;
}
#topic-title {
.remove-featured-link {
float: right;
text-transform: lowercase;
color: var(--primary-med-or-secondary-med);
font-size: 0.857rem;
}
}
#topic-filter {
background-color: var(--highlight-bg);
padding: 8px;
bottom: 0;
position: fixed;
width: 100%;
font-size: var(--font-0);
z-index: z("dropdown");
}
.onscreen-post .row {
display: flex; // children should never wrap
}