From 57ddf266ce6ea06badc5c1ca3c1cad2d9519f425 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= <crazyserver@gmail.com>
Date: Thu, 30 May 2019 10:50:34 +0200
Subject: [PATCH] MOBILE-3039 styles: Improve word wrapping and scroll styles

---
 src/app/app.scss                                      | 8 ++++++++
 src/components/download-refresh/download-refresh.scss | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/src/app/app.scss b/src/app/app.scss
index ec8fdefeb..ed48ce3d0 100644
--- a/src/app/app.scss
+++ b/src/app/app.scss
@@ -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;
   }
diff --git a/src/components/download-refresh/download-refresh.scss b/src/components/download-refresh/download-refresh.scss
index 46381a154..2ac72a335 100644
--- a/src/components/download-refresh/download-refresh.scss
+++ b/src/components/download-refresh/download-refresh.scss
@@ -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;