MOBILE-3320 dashboard: Fix logo on dashboard top bar

main
Pau Ferrer Ocaña 2021-06-03 11:40:16 +02:00
parent 9105def544
commit c8101dac1b
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@
</ion-buttons>
<h1>
<core-format-text [text]="siteName" contextLevel="system" [contextInstanceId]="0"></core-format-text>
<img src="assets/img/toolbar_logo.png" class="core-header-logo" [alt]="siteName">
<img src="assets/img/top_logo.png" class="core-header-logo" [alt]="siteName">
</h1>
<ion-buttons slot="end">
</ion-buttons>

View File

@ -279,8 +279,8 @@ $toolbar-color: get_contrast_color($toolbar-background) !default;
$toolbar-color-dark: get_contrast_color($toolbar-background-dark) !default;
$toolbar-border-width: 3px !default;
$toolbar-button-image-size: 44px !default;
$toolbar-height-md: 56px !default;
$toolbar-height-ios: 54px !default;
$toolbar-md-height: 56px !default;
$toolbar-ios-height: 54px !default;
// Bottom tab bar.
$bottom-tabs-background: $black !default;

View File

@ -139,7 +139,7 @@ ion-app.ios ion-header h2 {
text-align: center;
font-size: 17px;
font-weight: 600;
line-height: #{$toolbar-height-ios};
line-height: #{$toolbar-ios-height};
box-sizing: border-box;
pointer-events: none;
}
@ -161,11 +161,11 @@ ion-item.ion-text-wrap ion-label {
// Ionic toolbar on header.
ion-app.md ion-toolbar {
--min-height: #{$toolbar-height-md};
--min-height: #{$toolbar-md-height};
}
ion-app.ios ion-toolbar {
--min-height: #{$toolbar-height-ios};
--min-height: #{$toolbar-ios-height};
}
ion-header ion-toolbar {