2017-05-25 04:32:37 +00:00
|
|
|
@mixin notes-media($condition, $breakpoint-width) {
|
|
|
|
@media (#{$condition}-width: ($breakpoint-width)) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Diff is side by side
|
2019-04-02 17:10:49 +00:00
|
|
|
.notes-content.parallel & {
|
2017-05-25 04:32:37 +00:00
|
|
|
// We hide at double what we normally hide at because
|
|
|
|
// there are two columns of notes
|
|
|
|
@media (#{$condition}-width: (2 * $breakpoint-width)) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|