From 659f7675e51540a9cd6bac41edea1f8911ed5878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= <crazyserver@gmail.com>
Date: Mon, 10 Dec 2018 12:53:15 +0100
Subject: [PATCH] MOBILE-2782 wiki: Fix empty and tabs styles

---
 .../index/addon-mod-wiki-index.html           |  2 +-
 src/components/tabs/tabs.scss                 |  4 ++++
 src/theme/variables.scss                      | 21 +++++++++++++++++++
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/src/addon/mod/wiki/components/index/addon-mod-wiki-index.html b/src/addon/mod/wiki/components/index/addon-mod-wiki-index.html
index ffa86beb8..09df48a6e 100644
--- a/src/addon/mod/wiki/components/index/addon-mod-wiki-index.html
+++ b/src/addon/mod/wiki/components/index/addon-mod-wiki-index.html
@@ -47,7 +47,7 @@
 
                     <article [ngClass]="{'addon-mod_wiki-noedit': !canEdit}">
                         <core-format-text *ngIf="pageContent" [component]="component" [componentId]="componentId" [text]="pageContent"></core-format-text>
-                        <core-empty-box *ngIf="!pageContent" icon="document" [message]="'addon.mod_wiki.nocontent' | translate"></core-empty-box>
+                        <core-empty-box *ngIf="!pageContent" icon="document" [message]="'addon.mod_wiki.nocontent' | translate" [inline]="true"></core-empty-box>
                     </article>
                 </div>
             </ng-template>
diff --git a/src/components/tabs/tabs.scss b/src/components/tabs/tabs.scss
index 0dfbc392c..d4dc1e7d2 100644
--- a/src/components/tabs/tabs.scss
+++ b/src/components/tabs/tabs.scss
@@ -30,6 +30,10 @@ ion-app.app-root .core-tabs-bar {
             line-height: 1.2em;
         }
 
+        ion-icon {
+            @include margin(null, 5px, null, null);
+        }
+
         ion-badge.tab-badge {
             position: relative;
             @include position(auto, auto, auto, auto);
diff --git a/src/theme/variables.scss b/src/theme/variables.scss
index a2dc0083f..cc584668c 100644
--- a/src/theme/variables.scss
+++ b/src/theme/variables.scss
@@ -400,6 +400,27 @@ $core-question-state-incorrect-color: $red-light !default;
     }
 }
 
+@mixin core-headings() {
+  h1 {
+    font-size: 3rem;
+  }
+  h2 {
+    font-size: 2.8rem;
+  }
+  h3 {
+    font-size: 2.6rem;
+  }
+  h4 {
+    font-size: 2.2rem;
+  }
+  h5 {
+    font-size: 1.8rem;
+  }
+  h6 {
+    font-size: 1.4rem;
+  }
+}
+
 // Font Awesome
 $fa-font-path: $font-path;
 @import "font-awesome";