Add wrapping for smaller screens
parent
d912a99fce
commit
aa6ed99637
|
@ -2,7 +2,7 @@
|
|||
<DocSectionText v-bind="$attrs">
|
||||
<p>When the form element is invalid, the label is also highlighted.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputText id="value1" v-model="value1" autocomplete="off" :invalid="!value1" />
|
||||
<label for="value1">Username</label>
|
||||
|
@ -47,7 +47,7 @@ export default {
|
|||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputText id="value1" v-model="value1" :invalid="!value1" />
|
||||
<label for="value1">Username</label>
|
||||
|
@ -80,7 +80,7 @@ export default {
|
|||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputText id="value1" v-model="value1" :invalid="!value1" />
|
||||
<label for="value1">Username</label>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<DocSectionText v-bind="$attrs">
|
||||
<p>A floating label appears on top of the input field when focused. Visit <PrimeVueNuxtLink to="/floatlabel">FloatLabel</PrimeVueNuxtLink> documentation for more information.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputMask id="over_label" v-model="value1" mask="999-99-9999" />
|
||||
<label for="over_label">Over Label</label>
|
||||
|
@ -47,7 +47,7 @@ export default {
|
|||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputMask id="over_label" v-model="value1" mask="999-99-9999" />
|
||||
<label for="over_label">Over Label</label>
|
||||
|
@ -80,7 +80,7 @@ export default {
|
|||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputMask id="over_label" v-model="value1" mask="999-99-9999" />
|
||||
<label for="over_label">Over Label</label>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<DocSectionText v-bind="$attrs">
|
||||
<p>FloatLabel visually integrates a label with its form element. Visit <PrimeVueNuxtLink to="/floatlabel">FloatLabel</PrimeVueNuxtLink> documentation for more information.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputText id="over_label" v-model="value1" autocomplete="off" />
|
||||
<label for="over_label">Over Label</label>
|
||||
|
@ -47,7 +47,7 @@ export default {
|
|||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputText id="over_label" v-model="value1" />
|
||||
<label for="over_label">Over Label</label>
|
||||
|
@ -79,7 +79,7 @@ export default {
|
|||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-center items-end gap-4">
|
||||
<div class="card flex flex-wrap justify-center items-end gap-4">
|
||||
<FloatLabel>
|
||||
<InputText id="over_label" v-model="value1" />
|
||||
<label for="over_label">Over Label</label>
|
||||
|
|
Loading…
Reference in New Issue