mirror of
https://github.com/SoPat712/videospeed.git
synced 2026-04-26 22:23:09 -04:00
Fix YouTube hover controls & improve nudge indicator UX
This commit is contained in:
+3
-9
@@ -10,14 +10,6 @@
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#controller:hover #nudge-indicator,
|
||||
#controller:focus-within #nudge-indicator,
|
||||
#controller.dragging #nudge-indicator,
|
||||
:host(:hover) #nudge-indicator,
|
||||
:host(.vsc-show) #nudge-indicator {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
#controller {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -48,7 +40,8 @@
|
||||
}
|
||||
|
||||
#nudge-indicator {
|
||||
display: none;
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 1.35em;
|
||||
@@ -61,6 +54,7 @@
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#nudge-indicator[data-enabled="true"] {
|
||||
|
||||
Reference in New Issue
Block a user