From 0e90722d3ccb8c4bff21925873a7e8e9a4e5eb84 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 31 Aug 2021 16:16:13 +0800 Subject: [PATCH] fix style --- assets/stylesheets/template/layout/content.scss | 1 + assets/stylesheets/template/modules/menu.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index e1481b4..2bfd61d 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -545,6 +545,7 @@ @media (min-width: $screen-sm){ visibility: visible; opacity: 1; + padding:1em 20% 3em; transition-duration: opacity 0.3s cubic-bezier(0.48, 0.01, 0.5, 0.99),visibility 0.1s linear; } } diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index 3d539a3..fb2080e 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -184,7 +184,7 @@ width: 100vw; box-shadow: 2px 2px 5px #00000033; margin: 0.8em 0; - padding:1em 20% 3em; + padding: 0; transition-duration: 0.5s; }