feat: floating input label

This commit is contained in:
liyasthomas
2021-08-07 14:51:13 +05:30
parent 92abbc4ce6
commit 3d963a7719
24 changed files with 132 additions and 128 deletions

View File

@@ -6,17 +6,17 @@
</template>
<template #body>
<div class="flex flex-col px-2">
<label for="selectLabelTeamAdd" class="font-semibold px-4 pb-4">
{{ $t("label") }}
</label>
<input
id="selectLabelTeamAdd"
v-model="name"
class="input"
class="input floating-input"
placeholder=" "
type="text"
:placeholder="$t('team.new_name')"
@keyup.enter="addNewTeam"
/>
<label for="selectLabelTeamAdd">
{{ $t("label") }}
</label>
</div>
</template>
<template #footer>

View File

@@ -6,17 +6,17 @@
</template>
<template #body>
<div class="flex flex-col px-2">
<label for="selectLabelTeamEdit" class="font-semibold px-4 pb-4">
{{ $t("label") }}
</label>
<input
id="selectLabelTeamEdit"
v-model="name"
class="input"
class="input floating-input"
placeholder=" "
type="text"
:placeholder="editingTeam.name"
@keyup.enter="saveTeam"
/>
<label for="selectLabelTeamEdit">
{{ $t("label") }}
</label>
<div class="flex flex-1 justify-between items-center">
<label for="memberList" class="font-semibold px-4 pt-4 pb-4">
{{ $t("team.members") }}