mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed select input size bug in AdminX
refs. https://github.com/TryGhost/Team/issues/3354
This commit is contained in:
parent
1cd341d9e6
commit
567422174d
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ const Select: React.FC<SelectProps> = ({
|
|||
const optionClasses = optionClassName;
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className='flex w-full flex-col'>
|
||||
{title && <Heading htmlFor={id} useLabelTag={true}>{title}</Heading>}
|
||||
<div className={containerClasses}>
|
||||
<select className={selectClasses} id={id} value={selectedOption} onChange={handleOptionChange}>
|
||||
|
@ -102,7 +102,7 @@ const Select: React.FC<SelectProps> = ({
|
|||
</select>
|
||||
</div>
|
||||
{hint && <Hint color={error ? 'red' : ''}>{hint}</Hint>}
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue