mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
hide sidebar album art on sidebar collapse
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="l_">
|
||||
<div class="l_" v-if="!props.collapsed">
|
||||
<div
|
||||
class="l-image image border rounded"
|
||||
:style="{
|
||||
@@ -14,11 +14,17 @@ import { ref } from "vue";
|
||||
import state from "../../composables/state";
|
||||
|
||||
const current = ref(state.current);
|
||||
const props = defineProps({
|
||||
collapsed: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.l_ {
|
||||
padding: $small;
|
||||
|
||||
|
||||
.l-image {
|
||||
height: 14rem;
|
||||
width: 14rem;
|
||||
|
||||
Reference in New Issue
Block a user