MOBILE-3068 ios: Fix styles in messages in iOS

main
Dani Palou 2019-08-23 09:56:40 +02:00
parent aa9e52d0f2
commit 4f08571d39
3 changed files with 9 additions and 6 deletions

View File

@ -5,9 +5,6 @@ $item-message-note-font-size: 75% !default;
$item-message-mine-bg: $gray-light !default; $item-message-mine-bg: $gray-light !default;
ion-app.app-root page-addon-messages-discussion { ion-app.app-root page-addon-messages-discussion {
.toolbar-title {
padding: 0;
}
ion-content { ion-content {
background-color: $gray-lighter !important; background-color: $gray-lighter !important;
@ -192,6 +189,8 @@ ion-app.app-root page-addon-messages-discussion {
} }
.toolbar-title { .toolbar-title {
padding: 0;
img { img {
@include margin-horizontal(null, 6px); @include margin-horizontal(null, 6px);
} }
@ -208,6 +207,10 @@ ion-app.app-root page-addon-messages-discussion {
ion-icon { ion-icon {
@include margin-horizontal(6px, null); @include margin-horizontal(6px, null);
} }
&.toolbar-title-ios {
justify-content: center;
}
} }
} }

View File

@ -40,6 +40,6 @@ ion-app.app-root .addon-message-discussion {
ion-app.app-root .addon-message-discussion { ion-app.app-root .addon-message-discussion {
h2 { h2 {
margin-top: 6px; margin-top: 10px;
} }
} }

View File

@ -674,8 +674,8 @@ ion-app.app-root {
border-radius: 50%; border-radius: 50%;
} }
.toolbar-ios { .header .toolbar-ios {
height: 52px; height: $toolbar-ios-height;
} }
// Footer with auto height. // Footer with auto height.