From a12f31552f9b325ffea06b9a3014964027abe0bf Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 19 Nov 2020 12:17:04 +0800 Subject: [PATCH] style: optimize global style --- source/css/layout/article-content.styl | 4 ++-- source/css/layout/common/magic-theme.styl | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/css/layout/article-content.styl b/source/css/layout/article-content.styl index 0986893..df2129f 100644 --- a/source/css/layout/article-content.styl +++ b/source/css/layout/article-content.styl @@ -2,8 +2,8 @@ @require 'common/magic-theme.styl' $avatarWidth = 46px; -$arrow-icon-width = 18px; -$post-nav-max-width = 200px; +$arrow-icon-width = 16px; +$post-nav-max-width = 220px; .article-content-container { diff --git a/source/css/layout/common/magic-theme.styl b/source/css/layout/common/magic-theme.styl index e784236..38210a3 100644 --- a/source/css/layout/common/magic-theme.styl +++ b/source/css/layout/common/magic-theme.styl @@ -23,7 +23,6 @@ hover-style(scaleX, scaleY) { ils-container(scaleX, scaleY, padding, isMarginBottom) { - position: relative; background: var(--background-color); padding: padding; border-radius: $ils-container-border-radius;