gitlab-org--gitlab-foss/app/assets/stylesheets/framework/notes.scss
2019-04-12 00:14:23 +03:00

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;
}
}
}