Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit fa96057

Browse files
author
Martin Wahnschaffe
committed
SORMAS-Foundation#3227 Remove the fixed defined height for the logo. This will allow custom logos to become a bit bigger.
1 parent 265960c commit fa96057

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

  • sormas-ui/src/main

sormas-ui/src/main/java/de/symeda/sormas/ui/Menu.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public Menu(Navigator navigator) {
7878

7979
// header of the menu
8080
final HorizontalLayout top = new HorizontalLayout();
81-
top.setDefaultComponentAlignment(Alignment.TOP_CENTER);
81+
top.setDefaultComponentAlignment(Alignment.MIDDLE_CENTER);
8282
top.addStyleName(ValoTheme.MENU_TITLE);
8383
top.setSpacing(true);
8484
Label title = new Label(FacadeProvider.getConfigFacade().getSormasInstanceName());

sormas-ui/src/main/webapp/VAADIN/themes/sormas/components/menu.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ $valo-menu-background-color: $s-default-color !default;
2929
}
3030

3131
.valo-menu-logo {
32-
height: 32px !important;
32+
display: inline-block;
33+
height: auto !important;
34+
max-height: 64px !important;
3335
width: auto !important;
3436
background: none;
3537
box-shadow: none;

0 commit comments

Comments
 (0)