Retrospring/app/assets/stylesheets/components/_question.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
425 B
SCSS
Raw Normal View History

@use "sass:map";
.question {
&__avatar {
margin-right: map.get($spacers, 2);
border-radius: $avatar-border-radius;
}
&__text,
&__user {
margin-bottom: 0;
word-break: break-word;
}
&__text {
overflow: hidden;
}
&--sticky {
border-radius: 0;
width: 100%;
@include media-breakpoint-up('sm') {
position: sticky;
top: $navbar-height;
2023-12-09 13:52:27 -08:00
z-index: 1;
}
}
}