This commit is contained in:
@@ -44,7 +44,7 @@ export function Dropdown({
|
||||
}[size];
|
||||
|
||||
const selectSizeClass = {
|
||||
sm: 'h-8 text-xs',
|
||||
sm: 'h-8 !text-xs',
|
||||
md: 'h-10 text-sm',
|
||||
lg: 'h-12 text-sm',
|
||||
full: 'h-10 text-sm'
|
||||
@@ -58,7 +58,7 @@ export function Dropdown({
|
||||
? 'inline-flex w-auto items-center gap-2'
|
||||
: 'block w-full gap-1';
|
||||
|
||||
const selectWrapperClass = 'relative';
|
||||
const selectWrapperClass = layout === 'inline' ? 'relative' : 'relative mt-1';
|
||||
const labelClass = layout === 'inline' ? 'text-xs ui-body-secondary' : '';
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user