Skip to content

Commit ac185f3

Browse files
authored
[6.x] Remove fixed height from SVGs in UI labels to prevent flickering (#14338)
Remove button height from svgs in labels like the link icon so that the label height doesn't change when switching sites
1 parent bfb02cd commit ac185f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/js/components/ui/Label.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const props = defineProps({
1818

1919
<template>
2020
<label
21-
class="flex justify-between mb-1.5 text-sm font-medium [&_button]:font-medium text-gray-925 select-none dark:text-gray-300"
21+
class="flex justify-between mb-1.5 text-sm font-medium [&_button]:font-medium text-gray-925 select-none dark:text-gray-300 [&_button:has(svg)]:h-auto"
2222
data-ui-label
2323
:for="for"
2424
>

0 commit comments

Comments
 (0)