From 3578111ecdd1242851fb8a2cbc5eea92c6b9d519 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 20 Oct 2025 05:21:46 +0800 Subject: [PATCH] refactor: resolve various StyleLint warnings --- _sass/base/_syntax.scss | 1 - _sass/base/_typography.scss | 4 +--- _sass/pages/_home.scss | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/_sass/base/_syntax.scss b/_sass/base/_syntax.scss index ae03d0dc9..34ddbe600 100644 --- a/_sass/base/_syntax.scss +++ b/_sass/base/_syntax.scss @@ -24,7 +24,6 @@ margin-bottom: 0; font-size: v.$code-font-size; line-height: 1.4rem; - word-wrap: normal; /* Fixed Safari overflow-x */ } table { diff --git a/_sass/base/_typography.scss b/_sass/base/_typography.scss index 1e7a6ef3e..8b679726e 100644 --- a/_sass/base/_typography.scss +++ b/_sass/base/_typography.scss @@ -26,9 +26,7 @@ } } - & { - font-size: 1rem + (5 - $i) * $size-factor; - } + font-size: 1rem + (5 - $i) * $size-factor; } @else { font-size: 1.05rem; } diff --git a/_sass/pages/_home.scss b/_sass/pages/_home.scss index 027cbe6a6..84f4b4aae 100644 --- a/_sass/pages/_home.scss +++ b/_sass/pages/_home.scss @@ -134,9 +134,6 @@ .page-link { color: var(--btn-patinator-text-color); padding: 0 0.6rem; - display: -webkit-box; - -webkit-box-pack: center; - -webkit-box-align: center; border-radius: 0.5rem; border: 0; background-color: inherit;