File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ onMounted(() => (mounted.value = true));
2424
2525<style lang="scss" module>
2626.container {
27+ display : inline-block ;
2728 position : relative ;
2829 overflow : hidden ;
2930 clip-path : inset (0 0 0 0 );
Original file line number Diff line number Diff line change 44 <TextWheelSelect :values =" allYears" :value =" state.activeYear" @change =" changeYear" />
55 <Button :icon =" RiArrowRightSLine" rounded @click =" rotateYear(1)" />
66 </span >
7- <i18n-t tag =" span" :keypath =" keyPath" scope =" global" >
7+ <i18n-t :class = " $style.activeYear " tag =" span" :keypath =" keyPath" scope =" global" >
88 <template #year >
99 <TextWheel :values =" allYears" :value =" state.activeYear" />
1010 </template >
@@ -63,4 +63,10 @@ const rotateYear = (dir: -1 | 1) => {
6363 cursor : pointer ;
6464 }
6565}
66+
67+ .activeYear {
68+ display : flex ;
69+ align-items : flex-end ;
70+ gap : 0.5ch ;
71+ }
6672 </style >
You can’t perform that action at this time.
0 commit comments