Commit f32be03 1 parent 7840963 commit f32be03 Copy full SHA for f32be03
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,18 @@ defineProps<{
8
8
<template >
9
9
<div
10
10
v-if =" vertical"
11
- class =" absolute z-1 top-8 left-4 transform translate-y-[1px] stepper-divider-vertical w-[1px] h-full"
12
- :class =" isActive ? 'border-l-4 border-blue-300 -translate-x-[2px]' : 'border-l-2 border-gray-300 -translate-x-[1px]'"
11
+ class =" absolute z-1 top-8 left-4 transform translate-y-[1px] stepper-divider-vertical w-[1px] h-full"
12
+ :class ="
13
+ isActive
14
+ ? 'border-l-4 border-blue-300 -translate-x-[2px]'
15
+ : 'border-l-2 border-gray-300 -translate-x-[1px]'
16
+ "
13
17
/>
14
18
<div
15
19
v-else
16
- class =" absolute z-1 top-4 left-0 transform -translate-x-1/2 flex align-center items-center align-middle content-center stepper-divider h-[1px]"
17
- :class =" isActive ? 'border-b-4 border-blue-300' : 'border-b-2 border-gray-300'"
20
+ class =" absolute z-1 top-4 left-0 transform -translate-x-1/2 flex align-center items-center align-middle content-center stepper-divider w-[calc(100%-2rem)] h-[1px]"
21
+ :class ="
22
+ isActive ? 'border-b-4 border-blue-300' : 'border-b-2 border-gray-300'
23
+ "
18
24
/>
19
25
</template >
20
-
21
- <style scoped>
22
- .stepper-divider {
23
- width : calc (100% - 2rem );
24
- }
25
- </style >
You can’t perform that action at this time.
0 commit comments