Fixed jump

pull/6483/head
Cagatay Civici 2024-09-26 11:44:01 +03:00
parent fd428bdb11
commit 0362c9e3a3
1 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs">
<p>Messages can disappear automatically by defined the <i>life</i> in milliseconds.</p> <p>Messages can disappear automatically by defined the <i>life</i> in milliseconds.</p>
</DocSectionText> </DocSectionText>
<div class="card flex flex-col items-center justify-center gap-4"> <div class="card flex flex-col items-center justify-center">
<Button label="Show" @click="showMessage" :disabled="visible" /> <Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message> <Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
</div> </div>
<DocSectionCode :code="code" /> <DocSectionCode :code="code" />
@ -16,13 +16,13 @@ export default {
visible: false, visible: false,
code: { code: {
basic: ` basic: `
<Button label="Show" @click="showMessage" :disabled="visible" /> <Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message> <Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
`, `,
options: ` options: `
<template> <template>
<div class="card flex flex-col items-center justify-center gap-4"> <div class="card flex flex-col items-center justify-center">
<Button label="Show" @click="showMessage" :disabled="visible" /> <Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message> <Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
</div> </div>
</template> </template>
@ -48,8 +48,8 @@ export default {
`, `,
composition: ` composition: `
<template> <template>
<div class="card flex flex-col items-center justify-center gap-4"> <div class="card flex flex-col items-center justify-center">
<Button label="Show" @click="showMessage" :disabled="visible" /> <Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message> <Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
</div> </div>
</template> </template>