summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/notes.scss
blob: 85ddf11d6fee3ad80c8a65a1374a1b0fe75e6906 (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;
    }
  }
}