debian-mirror-gitlab/app/assets/stylesheets/framework/notes.scss

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

15 lines
365 B
SCSS
Raw Normal View History

2017-09-10 17:25:29 +05:30
@mixin notes-media($condition, $breakpoint-width) {
@media (#{$condition}-width: ($breakpoint-width)) {
@content;
}
// Diff is side by side
2019-07-31 22:56:46 +05:30
.notes-content.parallel & {
2017-09-10 17:25:29 +05:30
// We hide at double what we normally hide at because
// there are two columns of notes
@media (#{$condition}-width: (2 * $breakpoint-width)) {
@content;
}
}
}