|
1150 | 1150 | float: left; |
1151 | 1151 | } |
1152 | 1152 |
|
| 1153 | + /* On mobile the playback-volume slider is hard to control, so it is hidden |
| 1154 | + (d-none d-md-block) and the louder/quieter/EQ buttons fill the row instead. */ |
| 1155 | + @media (max-width: 767.98px) { |
| 1156 | + .control-volume { |
| 1157 | + gap: 8px; |
| 1158 | + } |
| 1159 | + |
| 1160 | + .control-volume>div { |
| 1161 | + flex: 1 1 0; |
| 1162 | + padding-left: 0 !important; |
| 1163 | + } |
| 1164 | + |
| 1165 | + .control-volume .volume-button { |
| 1166 | + width: 100%; |
| 1167 | + } |
| 1168 | + } |
| 1169 | + |
1153 | 1170 | .slider.slider-horizontal { |
1154 | 1171 | width: 100%; |
1155 | 1172 | } |
@@ -1722,9 +1739,9 @@ <h5 class="modal-title" data-i18n="tools.nvs.erase.title"></h5> |
1722 | 1739 | aria-labelledby="nav-control-tab"> |
1723 | 1740 | <div class="container" id="navControl"> |
1724 | 1741 | <div class="col-md-12"> |
1725 | | - <div class="d-flex justify-content-between align-items-center mb-1 pb-1" style="border-bottom: 1px solid var(--cp-border);"> |
1726 | | - <legend data-i18n="control.title" style="border-bottom: none; margin-bottom: 0; padding-bottom: 0;"></legend> |
1727 | | - <div class="d-flex align-items-center gap-2" style="margin-bottom: 4px;"> |
| 1742 | + <div class="d-flex flex-column flex-md-row justify-content-md-between align-items-start align-items-md-center mb-1 pb-1" style="border-bottom: 1px solid var(--cp-border);"> |
| 1743 | + <legend data-i18n="control.title" style="border-bottom: none; margin-bottom: 0; padding-bottom: 0; white-space: nowrap;"></legend> |
| 1744 | + <div class="d-flex align-items-center flex-wrap gap-2 mt-2 mt-md-0" style="margin-bottom: 4px;"> |
1728 | 1745 | <!-- Repeat Button --> |
1729 | 1746 | <button type="button" class="btn btn-sm cp-control-button" id="btn-repeat-mode" onclick="toggleRepeatMode()"> |
1730 | 1747 | <span id="ico-repeat-mode" class="fas fa-redo"></span> |
@@ -1799,14 +1816,14 @@ <h5 class="modal-title" data-i18n="tools.nvs.erase.title"></h5> |
1799 | 1816 | </div> |
1800 | 1817 | <br> |
1801 | 1818 | <legend data-i18n="control.volume" class="col-auto"></legend> |
1802 | | - <div class="slider-container"> |
| 1819 | + <div class="slider-container control-volume"> |
1803 | 1820 | <div class="float-end"> |
1804 | 1821 | <button type="button" class="btn btn-primary btn-lg volume-button" onclick="sendControl(177)" |
1805 | 1822 | data-i18n="[title]control.voldown"> |
1806 | 1823 | <span class="fas fa-volume-down"></span> |
1807 | 1824 | </button> |
1808 | 1825 | </div> |
1809 | | - <div class="slider-container-inner"> |
| 1826 | + <div class="slider-container-inner d-none d-md-block"> |
1810 | 1827 | <input class="form-control float-end" data-provide="slider" type="number" data-slider-min="1" |
1811 | 1828 | data-slider-max="21" min="1" max="21" id="setVolume" data-slider-value="" value="" |
1812 | 1829 | onchange="sendVolume(Number(this.value))"> |
|
0 commit comments