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