1
0

Use writing-mode + direction instead of a deprecated appearance approach to make a range input vertical.

This commit is contained in:
Alexander Andreev 2024-06-19 00:10:54 +04:00
parent 7e9e641330
commit 5bc653f50a
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -132,11 +132,11 @@ button#radio-play {
button#radio-play:hover { text-decoration: none; } button#radio-play:hover { text-decoration: none; }
input#radio-volume { input#radio-volume {
appearance: slider-vertical;
-webkit-appearance: slider-vertical;
accent-color: var(--primary-color); accent-color: var(--primary-color);
direction: rtl;
height: 4rem; height: 4rem;
margin-left: .5rem; } margin-left: .5rem;
writing-mode: vertical-lr; }
#player div:first-child { #player div:first-child {
display: none; display: none;