fix(ui): fix artist-link button reset for proper ticker animation
Add display:block, font:inherit, appearance:none to ensure the button renders identically to the div variant. Without font:inherit, buttons use the UA stylesheet font-family which causes text width measurement mismatches and breaks the overflow detection for the ticker.
This commit is contained in:
1 parent
74a1b12b3b
commit
ed4395392b
1 file changed
+5
@@ -636,13 +636,18 @@
|
||||
}
|
||||
|
||||
.artist.artist-link {
|
||||
display: block;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.artist.artist-link:hover {
|
||||
|
||||
Reference in new issue
Block a user