mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add docstrings to python code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="r-home">
|
||||
<div class="r-home rounded border">
|
||||
<NowPlaying />
|
||||
<Recommendations />
|
||||
</div>
|
||||
@@ -9,6 +9,8 @@
|
||||
.r-home {
|
||||
height: 100%;
|
||||
width: 31rem;
|
||||
background-color: $card-dark;
|
||||
padding: $small;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="r-sidebar">
|
||||
<div class="grid">
|
||||
<div class="r-content rounded">
|
||||
<div class="r-content">
|
||||
<div class="r-dash" v-show="current_tab == tabs.home">
|
||||
<DashBoard />
|
||||
</div>
|
||||
@@ -63,7 +63,6 @@ function changeTab(tab) {
|
||||
.r-content {
|
||||
grid-area: content;
|
||||
width: 31rem;
|
||||
overflow: hidden;
|
||||
|
||||
// @include tablet-landscape {
|
||||
// display: none;
|
||||
|
||||
@@ -108,13 +108,13 @@ export default {
|
||||
|
||||
#title {
|
||||
margin: 0;
|
||||
width: 22rem;
|
||||
width: 20rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#artist {
|
||||
font-size: small;
|
||||
width: 22rem;
|
||||
width: 20rem;
|
||||
color: $highlight-blue;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,16 +20,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="scrollable-r border rounded">
|
||||
<TrackItem v-for="song in queue" :key="song.id" :track="song" />
|
||||
<TrackItem v-for="song in queue" :key="song.track_id" :track="song" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref, toRefs } from "@vue/reactivity";
|
||||
import perks from "@/composables/perks.js";
|
||||
import audio from "@/composables/playAudio.js";
|
||||
import { ref, toRefs } from "@vue/reactivity";
|
||||
import { watch } from "@vue/runtime-core";
|
||||
import TrackItem from "../shared/TrackItem.vue";
|
||||
|
||||
@@ -120,10 +120,9 @@ export default {
|
||||
|
||||
.r-grid {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
height: calc(100% - 2rem);
|
||||
display: grid;
|
||||
grid-template-rows: min-content;
|
||||
padding-bottom: 2.5rem;
|
||||
|
||||
.scrollable-r {
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user