UI: remove the lobby game-row tap highlight
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 8s
CI / integration (pull_request) Successful in 12s
CI / ui (pull_request) Successful in 44s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 56s
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 8s
CI / integration (pull_request) Successful in 12s
CI / ui (pull_request) Successful in 44s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 56s
A tap/click on a lobby game row flashed a highlight on both tappable areas (the open body and the right chevron/kebab), and the .open:active background lingered while the finger was held — pointless feedback that only spoiled the look. Drop the held :active background and set -webkit-tap-highlight-color: transparent on the row's buttons.
This commit is contained in:
@@ -324,8 +324,13 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
touch-action: pan-y; /* keep vertical list scroll; we only read horizontal swipes */
|
touch-action: pan-y; /* keep vertical list scroll; we only read horizontal swipes */
|
||||||
}
|
}
|
||||||
.open:active {
|
/* A tap/click on a game row leaves no highlight: drop the WebKit tap-flash on
|
||||||
background: var(--surface-2);
|
both tappable areas (the open body and the chevron / kebab) and the held
|
||||||
|
:active background, which added nothing and only spoiled the look. */
|
||||||
|
.open,
|
||||||
|
.chev,
|
||||||
|
.kebab {
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
}
|
}
|
||||||
.kebab {
|
.kebab {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user