clear button

This commit is contained in:
Tomáš Mládek 2020-01-12 12:20:00 +01:00
parent daeb71b93c
commit 90e912a50f

View file

@ -18,6 +18,7 @@ import {PlayingState} from "@/common";
</label>
<input :id="`url-input-${names[i-1]}`" type="text" v-model="urls[i - 1]"/>
</div>
<button class="channel-urls-clear-button" @click="urls = Array(N_CHANNELS).fill('')">CLEAR</button>
</div>
</div>
<div class="controls">
@ -150,10 +151,15 @@ h1 {
.channel-urls {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
flex-grow: 1;
}
.channel-urls-clear-button {
max-width: 5em;
}
.url-input {
display: flex;
width: 100%;