Responsive cards/tables thanks to unstackable

This commit is contained in:
Eliot Berriot 2018-02-15 22:32:37 +01:00
parent 28c0121c89
commit cb4fb2e4fd
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
7 changed files with 7 additions and 7 deletions

View File

@ -53,7 +53,7 @@
</div>
</div>
<div class="ui bottom attached tab" data-tab="queue">
<table class="ui compact inverted very basic fixed single line table">
<table class="ui compact inverted very basic fixed single line unstackable table">
<draggable v-model="queue.tracks" element="tbody" @update="reorder">
<tr @click="$store.dispatch('queue/currentIndex', index)" v-for="(track, index) in queue.tracks" :key="index" :class="[{'active': index === queue.currentIndex}]">
<td class="right aligned">{{ index + 1}}</td>

View File

@ -10,7 +10,7 @@
:track="currentTrack">
</audio-track>
<div v-if="currentTrack" class="track-area ui items">
<div v-if="currentTrack" class="track-area ui unstackable items">
<div class="ui inverted item">
<div class="ui tiny image">
<img v-if="currentTrack.album.cover" :src="Track.getCover(currentTrack)">

View File

@ -14,7 +14,7 @@
</router-link>
</div>
<div class="description" v-if="mode === 'rich'">
<table class="ui very basic fixed single line compact table">
<table class="ui very basic fixed single line compact unstackable table">
<tbody>
<tr v-for="track in tracks">
<td>

View File

@ -7,7 +7,7 @@
</router-link>
</div>
<div class="description">
<table class="ui compact very basic fixed single line table">
<table class="ui compact very basic fixed single line unstackable table">
<tbody>
<tr v-for="album in albums">
<td>

View File

@ -1,5 +1,5 @@
<template>
<table class="ui compact very basic fixed single line table">
<table class="ui compact very basic fixed single line unstackable table">
<thead>
<tr>
<th></th>

View File

@ -17,7 +17,7 @@
<div v-if="batch.status === 'pending'" class="label">Importing {{ batch.jobs.length }} tracks...</div>
<div v-if="batch.status === 'finished'" class="label">Imported {{ batch.jobs.length }} tracks!</div>
</div>
<table class="ui table">
<table class="ui unstackable table">
<thead>
<tr>
<th>Job ID</th>

View File

@ -12,7 +12,7 @@
:disabled="!nextLink">Next <i class="right arrow icon"></i></button>
<div class="ui hidden clearing divider"></div>
<div class="ui hidden clearing divider"></div>
<table v-if="results.length > 0" class="ui table">
<table v-if="results.length > 0" class="ui unstackable table">
<thead>
<tr>
<th>ID</th>