css optimizing
All checks were successful
/ depoly (push) Successful in 1m16s

This commit is contained in:
thislight 2024-10-30 13:07:55 +08:00
parent 30efc1bae6
commit b7531864d2
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
5 changed files with 38 additions and 4 deletions

View file

@ -4,6 +4,7 @@
--toot-avatar-size: 40px;
margin-block: 0;
position: relative;
contain: content;
&.toot {
/* fix composition ordering: I think the css module processor should aware the overriding and behaves, but no */
@ -122,6 +123,7 @@
overflow: hidden;
z-index: 1;
position: relative;
contain: content;
>img {
max-width: 100%;
@ -240,6 +242,7 @@
border-radius: 2px;
border: 1px solid var(--tutu-color-surface-d);
transition: outline-width 60ms var(--tutu-anim-curve-std), border-color 60ms var(--tutu-anim-curve-std);
contain: strict;
&:hover,
&:focus-visible {