Skip to content

Commit 2af2240

Browse files
author
Salma Alam-Naylor
committed
Fixed alignment of scale map stuff in info container
1 parent 2a263fa commit 2af2240

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

apps/fretonator-web/src/app/common/fretonator/scale-map/scale-map.component.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
display: flex;
4040
flex-direction: row;
4141
justify-content: center;
42+
align-items: center;
43+
height: $infoContainer_info_row_height;
4244
}
4345

4446
.degreesDisplay__degree {
@@ -103,6 +105,7 @@
103105
display: flex;
104106
justify-content: space-between;
105107
align-items: center;
108+
height: $infoContainer_info_row_height;
106109
}
107110

108111
.scaleDisplay__note {

apps/fretonator-web/src/styles/_vars.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import './functions';
2+
13
$grid-unit: 8 !default;
24

35
$screen-sm: 600px !default;
@@ -11,6 +13,8 @@ $focus_box_shadow_color_alt: #474350 !default;
1113
$fretonator_max_width: 980px !default;
1214
$mode_selector_max_width: 800px !default;
1315

16+
$infoContainer_info_row_height: pxToRem($grid-unit * 8);
17+
1418
$hamburger_padding-x: 16px;
1519
$hamburger_padding-y: 16px;
1620
$hamburger_layer-width: 32px;

0 commit comments

Comments
 (0)