From b1453ccb0c5b269bc867acaaa4f3cc7060df05db Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 18 Feb 2023 10:43:16 +0800 Subject: [PATCH] chore: delete useless code --- _sass/addon/commons.scss | 5 ----- _sass/layout/post.scss | 9 --------- 2 files changed, 14 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index e65d336..33d19db 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -419,10 +419,6 @@ i { /* fontawesome icons */ word-spacing: 1px; a { - &:not(:last-child) { - margin-right: 2px; - } - &:not([class]):hover { @extend %link-hover; } @@ -546,7 +542,6 @@ i { /* fontawesome icons */ .img-link { color: transparent; display: inline-flex; - overflow: hidden; } .shimmer { diff --git a/_sass/layout/post.scss b/_sass/layout/post.scss index ac445d7..c79331b 100644 --- a/_sass/layout/post.scss +++ b/_sass/layout/post.scss @@ -26,17 +26,9 @@ color: var(--text-color); } -%preview-margin { - margin: 0; -} - .preview-img { - @include align-center; - @extend %preview-margin; @extend %rounded; - max-width: 100%; - &:not(.no-bg) { img.lazyloaded { background: var(--img-bg); @@ -48,7 +40,6 @@ -o-object-fit: cover; object-fit: cover; - @extend %preview-margin; @extend %rounded; } }