Skip to content

Commit ca94ca9

Browse files
authored
fix: add rounded corners to project and quick nav items (#5296)
1 parent 76de450 commit ca94ca9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/effects/common-ui/src/ui/dashboard/workbench/workbench-project.vue

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ defineEmits(['click']);
3737
'border-r-0': index % 3 === 2,
3838
'border-b-0': index < 3,
3939
'pb-4': index > 2,
40+
'rounded-bl-xl': index === items.length - 3,
41+
'rounded-br-xl': index === items.length - 1,
4042
}"
4143
class="border-border group w-full cursor-pointer border-r border-t p-4 transition-all hover:shadow-xl md:w-1/2 lg:w-1/3"
4244
>

packages/effects/common-ui/src/ui/dashboard/workbench/workbench-quick-nav.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ defineEmits(['click']);
3535
<div
3636
:class="{
3737
'border-r-0': index % 3 === 2,
38-
'pb-4': index > 2,
3938
'border-b-0': index < 3,
39+
'pb-4': index > 2,
40+
'rounded-bl-xl': index === items.length - 3,
41+
'rounded-br-xl': index === items.length - 1,
4042
}"
4143
class="flex-col-center border-border group w-1/3 cursor-pointer border-r border-t py-8 hover:shadow-xl"
4244
@click="$emit('click', item)"

0 commit comments

Comments
 (0)