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

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

27 lines
390 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;
}
}
}