File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11<template >
2- <div >
3-
42 <div
53 class =" flex flex-col items-center bg-white border-green-500 select-none"
64 :class =" [
7- expanded ? 'rounded-lg px-8 py-6' : 'rounded-full min-w-[1.5rem] w-[fit-content] h-6',
5+ expanded ? 'rounded-lg px-8 py-6' : 'rounded-full min-w-[1.5rem] w-[fit-content] h-6',
86 selectedChord.label !== 'N/C' && 'border',
97 ]"
108 >
3937 </div >
4038 </div >
4139 </div >
42- <div v-if =" expanded && alternativeChords.length == 0" class =" h-[6rem] flex-none w-full" ></div >
43- </div >
4440</template >
4541
4642<script setup lang="ts">
Original file line number Diff line number Diff line change 3434 :expanded =" true"
3535 :id =" [chordData.measure, chordData.beat].join('-')"
3636 name =" chord-card"
37- class =" mx-auto shadow-md -translate-y-[10vh] sm:-translate-y-[5vh]"
37+ class =" mx-auto shadow-md"
38+ :style =" { transform: `translateY(calc(-8vh - ${chordData.alternativeChords.length == 0 ? 3 : 0}rem))` }"
3839 @click.stop =" () => { }"
3940 />
4041 <button
You can’t perform that action at this time.
0 commit comments