debian-mirror-gitlab/app/assets/stylesheets/framework/notes.scss
2017-09-10 17:25:29 +05:30

14 lines
365 B
SCSS

@mixin notes-media($condition, $breakpoint-width) {
@media (#{$condition}-width: ($breakpoint-width)) {
@content;
}
// Diff is side by side
.notes_content.parallel & {
// We hide at double what we normally hide at because
// there are two columns of notes
@media (#{$condition}-width: (2 * $breakpoint-width)) {
@content;
}
}
}