aboutsummaryrefslogtreecommitdiff
path: root/src/ui/demo/demo-wrapper.vue
diff options
context:
space:
mode:
authorGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-10-31 18:49:36 +0100
committerGravatar GitHub <noreply@github.com> 2023-10-31 17:49:36 +0000
commit015c673e09608c33ead2196c290be2057175c3f4 (patch)
tree7d0a72273a6343cf9edec2d0d2bc2d417d8eb66b /src/ui/demo/demo-wrapper.vue
parent99b1eb944dfc79500f2b81885582a5cb45057738 (diff)
downloadit-tools-015c673e09608c33ead2196c290be2057175c3f4.tar.gz
it-tools-015c673e09608c33ead2196c290be2057175c3f4.tar.zst
it-tools-015c673e09608c33ead2196c290be2057175c3f4.zip
refactor(ui): better ui demo preview menu (#664)
Diffstat (limited to 'src/ui/demo/demo-wrapper.vue')
-rw-r--r--src/ui/demo/demo-wrapper.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/demo/demo-wrapper.vue b/src/ui/demo/demo-wrapper.vue
index c4d3604..838fffd 100644
--- a/src/ui/demo/demo-wrapper.vue
+++ b/src/ui/demo/demo-wrapper.vue
@@ -12,7 +12,7 @@ const componentName = computed(() => _.startCase(String(route.name).replace(/^c-
<h1>c-lib components</h1>
<div flex>
- <div w-30 b-r b-gray b-op-10 b-r-solid pr-4>
+ <div w-200px b-r b-gray b-op-10 b-r-solid pr-4>
<c-button
v-for="{ name } of demoRoutes"
:key="name"
@@ -20,6 +20,7 @@ const componentName = computed(() => _.startCase(String(route.name).replace(/^c-
:to="{ name }"
w-full
important:justify-start
+ important:text-left
:type="route.name === name ? 'primary' : 'default'"
>
{{ name }}