From f80400d1b5e0a52bbc24413de15d2d29e8206d16 Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 11 Oct 2023 15:03:25 +0800 Subject: [PATCH] ui: optimize home article block style --- source/css/layout/home-content.styl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/css/layout/home-content.styl b/source/css/layout/home-content.styl index 5c4e0ae3..7da76f0f 100644 --- a/source/css/layout/home-content.styl +++ b/source/css/layout/home-content.styl @@ -6,7 +6,6 @@ .home-article-item { position relative - overflow hidden keep-container(var(--home-post-hover-scale), 0, 2.8rem) @@ -52,6 +51,8 @@ width 100% overflow hidden background-color var(--background-color-2) + border-top-left-radius var(--box-border-radius) + border-top-right-radius var(--box-border-radius) +keep-tablet() { height 7rem