diff --git a/webapp/src/assets/less/variables.less b/webapp/src/assets/less/variables.less index 24b2f2d8..d6c8ab7d 100644 --- a/webapp/src/assets/less/variables.less +++ b/webapp/src/assets/less/variables.less @@ -222,9 +222,18 @@ border-width: 0 0 1px; border-style: solid; border-color: rgba(180, 180, 180, 0.25); - padding-right: 20px; + padding-right: 15px; background: #fff; } + +// Make the gap increase for larger screens, this means that the right padding +// always matches the gap in uk-navbar-right +@media (width >= 960px) { + .ofm-tab-navbar { + padding-right: 30px; + } +} + .hook-inverse() { .ofm-tab-navbar { background: #252525; @@ -363,6 +372,22 @@ } } +.ofm-top-nav-button { + margin-top: 4px; + height: 38px; +} + +.ofm-top-nav-square-button { + margin-top: 4px; + height: 38px; + aspect-ratio: 1; +} + +.ofm-top-nav-square-button.material-icon { + // Material icons are 24x24 , set padding to centre + padding: 6px !important; +} + // A button styled like text. For use in menus .ofm-text-button { display: block; diff --git a/webapp/src/components/genericComponents/miniMenu.vue b/webapp/src/components/genericComponents/miniMenu.vue index 07cf23f9..a57067e3 100644 --- a/webapp/src/components/genericComponents/miniMenu.vue +++ b/webapp/src/components/genericComponents/miniMenu.vue @@ -1,9 +1,21 @@