mirror of
https://github.com/discourse/discourse.git
synced 2026-03-05 15:27:34 +08:00
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.
28 lines
528 B
SCSS
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
|
|
}
|