From 50f17ff502321f77ecac30da17b108949edefd8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Sat, 22 Oct 2022 13:24:28 +0800 Subject: [PATCH] :lipstick: Uniform the tool buttons font size. --- assets/css/_common/components/tool-buttons.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/assets/css/_common/components/tool-buttons.scss b/assets/css/_common/components/tool-buttons.scss index 6ddce3c..485e91a 100644 --- a/assets/css/_common/components/tool-buttons.scss +++ b/assets/css/_common/components/tool-buttons.scss @@ -4,6 +4,10 @@ background: none; bottom: 55px; filter: alpha(opacity=0); + font-size: $font-size-small; + @include mobile() { + font-size: $font-size-smaller; + } .button { display: block; @@ -14,7 +18,6 @@ background-color: $tool-btn-bg; color: $tool-btn-color; text-align: center; - font-size: $font-size-larger; line-height: 35px; padding: 0; outline: 0; @@ -29,7 +32,6 @@ height: 24px; line-height: 24px; border-radius: 3px; - font-size: $font-size-small; } &:hover { @@ -49,10 +51,6 @@ @if $back2top_enable { .back-to-top { - font-size: $font-size-small; - @include mobile() { - font-size: $font-size-smaller; - } @if not $back2top_scrollpercent { span {