Skip to content

Commit

Permalink
ui: optimize home article block style
Browse files Browse the repository at this point in the history
  • Loading branch information
XPoet committed Oct 11, 2023
1 parent 596d255 commit f80400d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/css/layout/home-content.styl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

.home-article-item {
position relative
overflow hidden

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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f80400d

Please sign in to comment.