increase top margin of description text to avoid codebox overlap

This commit is contained in:
pat-s 2024-12-18 14:48:15 +01:00
parent b9f4e9c574
commit f20d3550bb
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

View file

@ -1,12 +1,12 @@
<template>
<div class="flex flex-col mt-2 mb-4">
<div class="flex items-center mb-2">
<label class="text-wp-text-100 font-bold" :for="id" v-bind="$attrs">{{ label }}</label>
<label class="font-bold text-wp-text-100" :for="id" v-bind="$attrs">{{ label }}</label>
<DocsLink v-if="docsUrl" :topic="label" :url="docsUrl" class="ml-2" />
<slot v-else-if="$slots.titleActions" name="titleActions" />
</div>
<slot :id="id" />
<div v-if="$slots.description" class="ml-1 text-wp-text-alt-100">
<div v-if="$slots.description" class="mt-1 ml-1 text-wp-text-alt-100">
<slot name="description" />
</div>
</div>