Skip to content
Snippets Groups Projects
Commit b55949e6 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

refactor: align styles for different label types

parent ca6e21d4
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<label <label
v-if="label" v-if="label"
:for="id" :for="id"
class="tw-text-gray-600 tw-flex tw-gap-2 tw-items-center tw-grow tw-m-0" class="tw-font-medium tw-flex tw-gap-2 tw-items-center tw-grow tw-m-0"
> >
<span>{{ label }}</span> <span>{{ label }}</span>
<button v-if="withEditButton" type="button" class="btn btn-sm tw-p-0" @click="emit('edit')"> <button v-if="withEditButton" type="button" class="btn btn-sm tw-p-0" @click="emit('edit')">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div <div
class="tw-w-min tw-min-w-64 tw-px-6 tw-py-4 tw-border tw-border-gray-200 tw-border-solid tw-rounded-md" class="tw-w-min tw-min-w-64 tw-px-6 tw-py-4 tw-border tw-border-gray-200 tw-border-solid tw-rounded-md"
> >
<h3 class="tw-font-bold tw-text-base tw-pb-1">{{ title }}</h3> <h3 class="tw-font-medium tw-text-base tw-pb-1">{{ title }}</h3>
<slot /> <slot />
</div> </div>
</template> </template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment