diff --git a/src/components/menus/header-menu/header-menu.vue b/src/components/menus/header-menu/header-menu.vue index 288623c..362dd38 100644 --- a/src/components/menus/header-menu/header-menu.vue +++ b/src/components/menus/header-menu/header-menu.vue @@ -637,11 +637,15 @@ $toggle-width: 50px; background-image: colors.$color-window-bg; @include mixins.boxSize(); @include ui.nestedMenu(); - + @include mixins.large() { min-width: 100%; max-width: variables.$ideal-width; padding-left: variables.$spacing-xlarge; + + @media screen and (min-height: variables.$ideal-height) { + padding-left: variables.$spacing-medium + variables.$spacing-xsmall; + } } @include mixins.mobile() { diff --git a/src/components/toolbox/toolbox.vue b/src/components/toolbox/toolbox.vue index 5a15942..d65b5ff 100644 --- a/src/components/toolbox/toolbox.vue +++ b/src/components/toolbox/toolbox.vue @@ -350,7 +350,7 @@ $toolButtonWidth: variables.$spacing-large; // tall screens - @media screen and (min-height: 880px) { + @media screen and (min-height: variables.$ideal-height) { @include mixins.large() { width: 52px !important; } diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss index 2dc28dc..8e52903 100644 --- a/src/styles/_variables.scss +++ b/src/styles/_variables.scss @@ -2,6 +2,7 @@ $mobile-width: 640px; // the threshold below which we start to use the mobile view $ideal-width: 990px; +$ideal-height: 880px; // shows single button width toolbar $menu-height: 46px; $heading-height: 40px; $modal-header-height: 48px;