Skip to content

Commit d0c94ba

Browse files
committed
Center slider tooltips and hide on very small screens
1 parent c7e1b47 commit d0c94ba

File tree

2 files changed

+1679
-1662
lines changed

2 files changed

+1679
-1662
lines changed

wled00/data/index.htm

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -442,14 +442,16 @@
442442
}
443443

444444
.sliderbubble {
445-
width: 30px;
446-
line-height: 24px;
447-
background: var(--c-3);
448-
position: absolute;
449-
transform: translateX(-50%);
450-
border-radius: 6px;
451-
margin-left: 10px;
452-
display: inline;
445+
width: 36px;
446+
line-height: 24px;
447+
background: var(--c-3);
448+
position: absolute;
449+
transform: translateX(-50%);
450+
border-radius: 12px;
451+
margin-left: 12px;
452+
margin-top: 3px;
453+
padding: 0px;
454+
display: inline;
453455
}
454456

455457
.hidden {
@@ -901,6 +903,12 @@
901903
background: var(--c-sbh);
902904
}
903905

906+
@media all and (max-width: 335px) {
907+
.sliderbubble {
908+
display: none;
909+
}
910+
}
911+
904912
@media all and (max-width: 550px) and (min-width: 374px) {
905913
.infobtn {
906914
width: 155px;

0 commit comments

Comments
 (0)