MOBILE-3039 styles: Improve word wrapping and scroll styles

main
Pau Ferrer Ocaña 2019-05-30 10:50:34 +02:00
parent 8d8e8a11b4
commit 57ddf266ce
2 changed files with 15 additions and 0 deletions

View File

@ -224,6 +224,8 @@ ion-app.app-root {
/** Styles of elements inside the directive should be placed in format-text.scss */
core-format-text {
user-select: text;
word-break: break-word;
word-wrap: break-word;
&[maxHeight],
&[ng-reflect-max-height] {
@ -939,6 +941,12 @@ ion-app.app-root {
pointer-events: initial;
}
// Avoid scroll bouncing on iOS if disabled.
&.disable-scroll .ion-page .content-ios .scroll-content::before,
&.disable-scroll .ion-page .content-ios .scroll-content::after {
content: none;
}
.core-iframe-offline-disabled {
display: none !important;
}

View File

@ -1,5 +1,12 @@
ion-app.app-root core-download-refresh {
font-size: 1.4rem;
display: flex;
flex-flow: row;
align-items: center;
z-index: 1;
justify-content: space-around;
align-content: center;
min-height: 44px;
button, ion-icon {
cursor: pointer;