Inline datepicker update
parent
b79c86aca4
commit
e6ca18d3a6
|
@ -3,7 +3,7 @@
|
|||
<p>DatePicker is displayed as a popup by default, add <i>inline</i> property to customize this behavior.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-center">
|
||||
<DatePicker v-model="date" inline showWeek />
|
||||
<DatePicker v-model="date" inline showWeek class="w-full sm:w-[30rem]" />
|
||||
</div>
|
||||
<DocSectionCode :code="code" />
|
||||
</template>
|
||||
|
@ -15,12 +15,12 @@ export default {
|
|||
date: null,
|
||||
code: {
|
||||
basic: `
|
||||
<DatePicker v-model="date" inline showWeek />
|
||||
<DatePicker v-model="date" inline showWeek class="w-full sm:w-[30rem]" />
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-center">
|
||||
<DatePicker v-model="date" inline showWeek />
|
||||
<DatePicker v-model="date" inline showWeek class="w-full sm:w-[30rem]" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -37,7 +37,7 @@ export default {
|
|||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-center">
|
||||
<DatePicker v-model="date" inline showWeek />
|
||||
<DatePicker v-model="date" inline showWeek class="w-full sm:w-[30rem]" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue