This commit is contained in:
2023-07-26 16:07:42 +02:00
parent c00bd956e7
commit 6697bde5ed
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ const value = useVModel(props, 'modelValue', emit);
<input type="checkbox" class="appearance-none transition-colors cursor-pointer w-14 h-7 rounded-full" v-model="value" />
<span class="absolute font-medium text-xs right-1"> Buy </span>
<span class="absolute font-medium text-xs right-8"> Sell </span>
<span class="w-7 h-7 right-7 absolute rounded-full transform transition-transform bg-slate-200" />
<span class="w-7 h-7 right-7 absolute rounded-full transform transition-transform bg-slate-100" />
</label>
</template>

View File

@@ -12,7 +12,7 @@
}
button {
@apply py-0.5 px-2 border rounded bg-slate-600 hover:bg-slate-800;
@apply py-0.5 px-2 border rounded bg-slate-600 hover:bg-slate-800;
}
input {
@apply border bg-slate-500 rounded px-1;