fix: spin only the icon glyph in mobile refresh button (#26)
This commit is contained in:
@@ -363,6 +363,17 @@
|
|||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Spin only the icon glyph, not the 44px button box — otherwise the button's
|
||||||
|
lingering touch-hover frame (background + border) rotates too, which looks odd. */
|
||||||
|
.m-card.is-open .m-card__head .m-refresh-icon.spinning {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-card.is-open .m-card__head .m-refresh-icon.spinning i {
|
||||||
|
display: inline-block;
|
||||||
|
animation: spin 0.8s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
.m-card__body {
|
.m-card__body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: minmax(0, 1fr) auto;
|
grid-template-columns: minmax(0, 1fr) auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user