You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Alert element gives a decent amount of style customization options. What's missing, is the option to change the gap in the parent element. It's currently fixed to gap-3.
It becomes visible when using an alert icon. The gap-3 works well together with the default padding preset of p-3. However, with different paddings, gap-3 seems odd.
I'd like to have the ability to define padding and gap via presets. Thanks!
Additional context
Here's how it looks slightly off with the default fixed gap-3 and customized padding p-2:
Padding p-2 is necessary to line up the icons of the alert and the form inputs. The description of the alert however doesn't line up with the border of the form icons below. Seems like a small detail, but when fixing it via developer tools in the browser from gap-3 to gap-2, it looks better:
The text was updated successfully, but these errors were encountered:
Description
The Alert element gives a decent amount of style customization options. What's missing, is the option to change the
gap
in the parent element. It's currently fixed togap-3
.<div class="items-start flex gap-3" data-v-inspector="node_modules/@nuxt/ui/dist/runtime/components/elements/Alert.vue:3:5"></div>
It becomes visible when using an alert icon. The
gap-3
works well together with the default padding preset ofp-3
. However, with different paddings,gap-3
seems odd.I'd like to have the ability to define padding and gap via presets. Thanks!
Additional context
Here's how it looks slightly off with the default fixed
gap-3
and customized paddingp-2
:Padding
p-2
is necessary to line up the icons of the alert and the form inputs. The description of the alert however doesn't line up with the border of the form icons below. Seems like a small detail, but when fixing it via developer tools in the browser fromgap-3
togap-2
, it looks better:The text was updated successfully, but these errors were encountered: