File tree Expand file tree Collapse file tree 5 files changed +8
-11
lines changed
Expand file tree Collapse file tree 5 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,13 @@ Pass a `title` field to the `toast.add` method to display a title.
4646 </ClientOnly >
4747</div >
4848
49- ::: details
5049<<< @/examples/toast/demo/Title.vue{7,13 vue: line-numbers }
51- :::
5250
5351### Description
5452
5553Pass a ` description ` field to the ` toast.add ` method to display a description.
5654
57- <div class =" lg:min-h-[275px ] " >
55+ <div class =" lg:min-h-[310px ] " >
5856 <ClientOnly >
5957 <DescriptionExample />
6058 </ClientOnly >
@@ -142,7 +140,7 @@ Pass an `actions` field to add some [Button](/components/button) actions to the
142140Actions renders differently when the description is not set. You can try to remove it.
143141:::
144142
145- <div class =" lg:min-h-[275px ] " >
143+ <div class =" lg:min-h-[310px ] " >
146144 <ClientOnly >
147145 <ActionsExample />
148146 </ClientOnly >
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ const description = ref('Is there anything else you need help with?')
1010<template >
1111 <ComponentShowExample >
1212 <template #actions >
13- <B24FormField label =" description" class =" w-full sm:w-1/4 " >
14- <B24Input v-model =" description" />
13+ <B24FormField label =" description" class =" w-full sm:flex-1 " >
14+ <B24Textarea v-model =" description" />
1515 </B24FormField >
1616 </template >
1717 <Demo :title =" title" :description =" description" />
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ const description = ref('Is there anything else you need help with?')
1010<template >
1111 <ComponentShowExample >
1212 <template #actions >
13- <B24FormField label =" title" class =" w-full sm:w-1/4 " >
13+ <B24FormField label =" title" class =" w-full sm:flex-1 " >
1414 <B24Input v-model =" title" />
1515 </B24FormField >
16- <B24FormField label =" description" class =" w-full sm:w-1/4 " >
17- <B24Input v-model =" description" />
16+ <B24FormField label =" description" class =" w-full sm:flex-1 " >
17+ <B24Textarea v-model =" description" />
1818 </B24FormField >
1919 </template >
2020 <Demo :title =" title" :description =" description" />
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const title = ref('The calculation of indicators has been completed')
99<template >
1010 <ComponentShowExample >
1111 <template #actions >
12- <B24FormField label =" title" class =" w-full sm:w-1/4 " >
12+ <B24FormField label =" title" class =" w-full" >
1313 <B24Input v-model =" title" />
1414 </B24FormField >
1515 </template >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- // import { useAppConfig } from '@bitrix24/b24icons-vue'
32import Refresh9Icon from ' @bitrix24/b24icons-vue/crm/Refresh9Icon'
43
54export interface ExampleProps {
You can’t perform that action at this time.
0 commit comments