Skip to content

Commit a5bdd9e

Browse files
committed
Use variable for max-height
1 parent 031f9a7 commit a5bdd9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/select-menu/select-menu.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// TODO: Introduce an additional .intent-keyboard class
55

66
$SelectMenu-border: $border-width $border-style lighten($gray-200, 3%);
7+
$SelectMenu-max-height: 480px;
78

89
// Select Menu
910
//
@@ -85,7 +86,7 @@ $SelectMenu-border: $border-width $border-style lighten($gray-200, 3%);
8586
@include breakpoint(sm) {
8687
width: 300px;
8788
height: auto;
88-
max-height: 480px;
89+
max-height: $SelectMenu-max-height;
8990
margin: $spacer-1 0 $spacer-3 0;
9091
font-size: $font-size-small;
9192
border: $border-width $border-style $border-gray-dark;
@@ -323,7 +324,7 @@ $SelectMenu-border: $border-width $border-style lighten($gray-200, 3%);
323324

324325
@include breakpoint(sm) {
325326
height: auto;
326-
max-height: 480px;
327+
max-height: $SelectMenu-max-height;
327328
margin-top: $spacer-1;
328329
}
329330
}

0 commit comments

Comments
 (0)