summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/notes.scss
blob: d349e3fad9ce01dec8144177b386914309ec8ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@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;
    }
  }
}