From f07e6b271cfd578630057ee7446d63a86322b218 Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Fri, 31 Aug 2018 15:11:27 +0300
Subject: Add styles for h1/2/3/4/5 tags in status html

---
 src/components/status/status.vue | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'src/components/status/status.vue')

diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index bfe96d33..097a9eb9 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -340,6 +340,30 @@
       margin-top: 0.2em;
       margin-bottom: 0.5em;
     }
+
+    h1 {
+      font-size: 1.1em;
+      line-height: 1.5em;
+      margin-left: 0em;
+    }
+
+    h2 {
+      line-height: 1.2em;
+      font-size: 1.1em;
+      margin-left: 1em;
+    }
+
+    h3 {
+      font-size: 1em;
+    }
+
+    h4 {
+      font-size: 1em;
+    }
+
+    h5 {
+      font-size: 1em;
+    }
   }
 
   .retweet-info {
-- 
cgit v1.2.3-70-g09d2


From 384c80e23863790d584cd0beeb3ceac13a2ba9b3 Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Fri, 31 Aug 2018 16:04:52 +0300
Subject: Change styles a bit, make pre-formatted blocks not overflow but
 scroll

---
 src/components/status/status.vue | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

(limited to 'src/components/status/status.vue')

diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 097a9eb9..b1dfd367 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -335,6 +335,10 @@
       font-style: italic;
     }
 
+    pre {
+      overflow: auto;
+    }
+
     p {
       margin: 0;
       margin-top: 0.2em;
@@ -343,26 +347,23 @@
 
     h1 {
       font-size: 1.1em;
-      line-height: 1.5em;
-      margin-left: 0em;
+      line-height: 1.2em;
+      margin: 1.6em 0;
     }
 
     h2 {
       line-height: 1.2em;
-      font-size: 1.1em;
-      margin-left: 1em;
+      font-size: 1.2em;
+      margin: 1.4em 0;
     }
 
     h3 {
       font-size: 1em;
+      margin: 1.3em 0;
     }
 
     h4 {
-      font-size: 1em;
-    }
-
-    h5 {
-      font-size: 1em;
+      margin: 1.2em 0;
     }
   }
 
-- 
cgit v1.2.3-70-g09d2


From 77e8933b2e8ab9947ed3f19810b2f28c3281e3f8 Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Fri, 31 Aug 2018 16:13:43 +0300
Subject: Fix mistakes

---
 src/components/status/status.vue | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'src/components/status/status.vue')

diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index b1dfd367..eb521280 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -348,22 +348,21 @@
     h1 {
       font-size: 1.1em;
       line-height: 1.2em;
-      margin: 1.6em 0;
+      margin: 1.4em 0;
     }
 
     h2 {
-      line-height: 1.2em;
-      font-size: 1.2em;
-      margin: 1.4em 0;
+      font-size: 1.1em;
+      margin: 1.0em 0;
     }
 
     h3 {
       font-size: 1em;
-      margin: 1.3em 0;
+      margin: 1.2em 0;
     }
 
     h4 {
-      margin: 1.2em 0;
+      margin: 1.1em 0;
     }
   }
 
-- 
cgit v1.2.3-70-g09d2

