Skip to content

Commit f80400d

Browse files
committedOct 11, 2023
ui: optimize home article block style
1 parent 596d255 commit f80400d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎source/css/layout/home-content.styl

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
.home-article-item {
88
position relative
9-
overflow hidden
109

1110
keep-container(var(--home-post-hover-scale), 0, 2.8rem)
1211

@@ -52,6 +51,8 @@
5251
width 100%
5352
overflow hidden
5453
background-color var(--background-color-2)
54+
border-top-left-radius var(--box-border-radius)
55+
border-top-right-radius var(--box-border-radius)
5556

5657
+keep-tablet() {
5758
height 7rem

0 commit comments

Comments
 (0)