Skip to content
Snippets Groups Projects
Verified Commit cb4fb2e4 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Responsive cards/tables thanks to unstackable

parent 28c0121c
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</div> </div>
</div> </div>
<div class="ui bottom attached tab" data-tab="queue"> <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"> <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}]"> <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> <td class="right aligned">{{ index + 1}}</td>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
:track="currentTrack"> :track="currentTrack">
</audio-track> </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 inverted item">
<div class="ui tiny image"> <div class="ui tiny image">
<img v-if="currentTrack.album.cover" :src="Track.getCover(currentTrack)"> <img v-if="currentTrack.album.cover" :src="Track.getCover(currentTrack)">
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</router-link> </router-link>
</div> </div>
<div class="description" v-if="mode === 'rich'"> <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> <tbody>
<tr v-for="track in tracks"> <tr v-for="track in tracks">
<td> <td>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</router-link> </router-link>
</div> </div>
<div class="description"> <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> <tbody>
<tr v-for="album in albums"> <tr v-for="album in albums">
<td> <td>
......
<template> <template>
<table class="ui compact very basic fixed single line table"> <table class="ui compact very basic fixed single line unstackable table">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div v-if="batch.status === 'pending'" class="label">Importing {{ batch.jobs.length }} tracks...</div> <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 v-if="batch.status === 'finished'" class="label">Imported {{ batch.jobs.length }} tracks!</div>
</div> </div>
<table class="ui table"> <table class="ui unstackable table">
<thead> <thead>
<tr> <tr>
<th>Job ID</th> <th>Job ID</th>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
:disabled="!nextLink">Next <i class="right arrow icon"></i></button> :disabled="!nextLink">Next <i class="right arrow icon"></i></button>
<div class="ui hidden clearing divider"></div> <div class="ui hidden clearing divider"></div>
<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> <thead>
<tr> <tr>
<th>ID</th> <th>ID</th>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment