feat: add refresh button to mobile player card (#26) #27
@@ -363,6 +363,17 @@
|
||||
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 {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
|
||||
Reference in New Issue
Block a user