Skip to content

Commit

Permalink
Fix unwanted delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Jan 14, 2025
1 parent 568c737 commit 610567d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/co/bookmarks/edit/form/collection/suggested.module.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
transition: opacity .2s ease-in, max-height .3s ease-out, min-height .3s ease-out

&[data-expanded=true]:not(:empty) {
transition-delay: .2s;
max-height: calc( (var(--icon-size) + var(--padding-small)) * 3 )
max-height: calc( (var(--icon-size) + var(--padding-small)) * 3 );

&:hover {
transition-delay: .2s;
}
}

&:empty {
Expand Down
5 changes: 4 additions & 1 deletion src/co/bookmarks/edit/form/tags/suggested.module.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
transition: opacity .2s ease-in, max-height .3s ease-out, min-height .3s ease-out

&[data-expanded=true]:not(:empty) {
transition-delay: .2s;
max-height: calc( (var(--icon-size) + var(--padding-small)) * 3 )

&:hover {
transition-delay: .2s;
}
}

&:empty {
Expand Down

0 comments on commit 610567d

Please sign in to comment.