Skip to content

Commit

Permalink
feat(profile): update list item styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Aekal committed Nov 24, 2024
1 parent e957979 commit 77e0408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/BaseInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const model = defineModel<string>()
<input
v-bind="$attrs"
v-model="model"
class="rounded border p-1.5 text-neutral-700 placeholder:text-neutral-400"
class="w-full rounded border p-1.5 text-neutral-700 placeholder:text-neutral-400"
/>
</label>
</template>
Expand Down
8 changes: 3 additions & 5 deletions src/components/BaseListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ defineProps<{
}>()
</script>
<template>
<li class="flex flex-col gap-2">
{{ label }}
<div class="rounded bg-neutral-700 p-2.5">
{{ value || '-' }}
</div>
<li class="flex flex-col gap-2 rounded bg-neutral-700 p-2.5">
<span class="font-bold">{{ label }}</span>
<span>{{ value || '-' }}</span>
</li>
</template>

0 comments on commit 77e0408

Please sign in to comment.