From 361dbe887815de634c968d42f878d37ad1c3b21b Mon Sep 17 00:00:00 2001 From: "Ivan.Nginx" Date: Tue, 23 Apr 2019 22:35:40 +0300 Subject: [PATCH] Fix alignments for several elements for `mobile_layout_economy` option (#849) --- source/css/_common/scaffolding/mobile.styl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/css/_common/scaffolding/mobile.styl b/source/css/_common/scaffolding/mobile.styl index 5001d3f580..80cc04b631 100644 --- a/source/css/_common/scaffolding/mobile.styl +++ b/source/css/_common/scaffolding/mobile.styl @@ -60,12 +60,12 @@ .post-body { // For headers narrow width. - h2, h3, h4, h5, h6 { + h1, h2, h3, h4, h5, h6 { margin: 10px 18px 8px; } // Rewrite paddings & margins inside tags. .note, .tabs .tab-content .tab-pane { - h2, h3, h4, h5, h6 { + h1, h2, h3, h4, h5, h6 { margin: 0 5px; } } @@ -91,6 +91,11 @@ margin-left: 18px; } + // For Mist more button alignment. + > div.post-button a { + margin-left: 18px; + } + // Rewrite paddings & margins inside tags. .note > p, .tabs .tab-content .tab-pane > p { padding: 0 5px;