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

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

28 lines
408 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;
overflow: hidden;
word-break: break-word;
}
&--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;
}
}
}