From 9cd3e0bf68480484f2334ee513f37fa771a3de6c Mon Sep 17 00:00:00 2001 From: elkan1788 Date: Thu, 16 Jan 2025 08:50:54 +0800 Subject: [PATCH] :lipstick: Closed #154, Add margin top pixes layout in small screen. --- assets/css/_common/outline/mobile.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/css/_common/outline/mobile.scss b/assets/css/_common/outline/mobile.scss index 8282056..63bc6c9 100644 --- a/assets/css/_common/outline/mobile.scss +++ b/assets/css/_common/outline/mobile.scss @@ -20,7 +20,10 @@ } .post-block { - margin-top: initial !important; + //margin-top: initial !important; + // https://github.com/hugo-next/hugo-theme-next/issues/154 + // make the post block more clear in small screen + margin-top: 5px !important; // Inside posts blocks content padding (default 40px). padding: $content-mobile-padding 18px $content-mobile-padding !important; }