Skip to content

Commit

Permalink
ui: optimize folder card style
Browse files Browse the repository at this point in the history
  • Loading branch information
XPoet committed Jan 29, 2024
1 parent 9e4dd51 commit 79337e0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 17 additions & 2 deletions src/views/imgs-management/components/folder-card/folder-card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,26 @@
display flex
flex-direction column
align-items center
justify-content center
justify-content flex-start
width 100%
height 100%
padding 12rem 6rem 6rem 6rem
user-select none

+picx-tablet-2() {
padding 10rem 5rem 5rem 5rem
}


+picx-tablet() {
padding 8rem 4rem 4rem 4rem
}


+picx-mobile() {
padding 6rem 3rem 3rem 3rem
}

&.active
&:hover {
background var(--background-color-2)
Expand All @@ -32,7 +47,7 @@
width 90%
margin-top 5rem
overflow hidden
font-size 14rem
font-size 12rem
text-align center
text-overflow ellipsis
word-wrap break-word
Expand Down
2 changes: 1 addition & 1 deletion src/views/imgs-management/imgs-management.styl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $grid-gap = 20rem
padding $grid-gap * 0.9

.list-item {
grid-auto-rows 100rem
grid-auto-rows 110rem
grid-gap $grid-gap * 0.9
grid-template-columns repeat(8, 1fr)
}
Expand Down

0 comments on commit 79337e0

Please sign in to comment.