set slider width. fixes browser inconsistencies

This commit is contained in:
Thomas Amland 2021-01-30 21:11:44 +01:00
parent 80dc608144
commit fef13f18a9

View File

@ -51,7 +51,7 @@
<b-button variant="link"> <b-button variant="link">
<Icon class="volume-icon" icon="volume-up-fill" /> <Icon class="volume-icon" icon="volume-up-fill" />
</b-button> </b-button>
<b-form-input type="range" min="0" max="1" step="0.05" <b-form-input type="range" min="0" max="1" step="0.05" style="width: 130px"
:title="`Volume: ${Math.round(volume * 100)}%`" :title="`Volume: ${Math.round(volume * 100)}%`"
:value="volume" @input="setVolume" /> :value="volume" @input="setVolume" />
</div> </div>