mirror of
https://github.com/SoPat712/Speeder.git
synced 2026-10-08 03:03:14 -04:00
fix: expand from right for middle positions
This commit is contained in:
1 file changed
+11
+11
@@ -39,6 +39,17 @@
|
||||
margin-right: 0.8em;
|
||||
}
|
||||
|
||||
/* For center positions, override transform to expand from left edge instead of center */
|
||||
#controller[data-location="top-center"],
|
||||
#controller[data-location="bottom-center"] {
|
||||
transform: translate(0, 0) !important;
|
||||
left: calc(50% - 30px) !important;
|
||||
}
|
||||
|
||||
#controller[data-location="bottom-center"] {
|
||||
transform: translate(0, -100%) !important;
|
||||
}
|
||||
|
||||
#controls {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user