discourse/app/assets/stylesheets/common/components/empty-states.scss
Martin Brennan 4107803704
UX: Fix new/unread topic banner overlap with topic filter empty state (#33305)
Followup 30b0e38877

Changes margin to padding for topic filter empty state to prevent the
"See X new or updated topics" banner from overlapping with the empty
state
when there are no topics in the filter.
2025-06-23 14:40:35 +10:00

43 lines
651 B
SCSS
Vendored

@use "lib/viewport";
.empty-topic-filter {
margin: 0 auto;
width: 75%;
text-align: center;
@include viewport.from(sm) {
padding-top: 7rem;
}
&__preferences-hint {
margin-top: 2rem;
font-size: var(--font-down-1);
color: var(--primary-medium);
@include viewport.until(sm) {
position: absolute;
bottom: 3rem;
margin-inline: auto;
margin-top: 0;
left: 0;
}
}
&__image {
svg {
width: 200px;
@include viewport.until(sm) {
width: 65vw;
}
}
@include viewport.until(sm) {
margin-top: 8vh;
}
}
&__cta {
margin-top: 2rem;
}
}