pl-fe: style fixes for ladybird
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -96,7 +96,7 @@ const DropdownMenuItem = ({ index, item, onClick, autoFocus, onSetTab }: IDropdo
|
|||||||
}, [itemRef.current, index]);
|
}, [itemRef.current, index]);
|
||||||
|
|
||||||
if (item === null) {
|
if (item === null) {
|
||||||
return <li className='mx-2 my-1 h-[2px] bg-gray-100 dark:bg-gray-800' />;
|
return <li className='mx-2 my-1 block h-[2px] bg-gray-100 dark:bg-gray-800' />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -362,7 +362,7 @@ const DropdownMenu = (props: IDropdownMenu) => {
|
|||||||
<div
|
<div
|
||||||
data-testid='dropdown-menu'
|
data-testid='dropdown-menu'
|
||||||
ref={refs.setFloating}
|
ref={refs.setFloating}
|
||||||
className='z-[1001]'
|
className='z-[1001] block'
|
||||||
style={{
|
style={{
|
||||||
position: strategy,
|
position: strategy,
|
||||||
top: y ?? 0,
|
top: y ?? 0,
|
||||||
|
|||||||
@ -71,8 +71,8 @@ const UploadButton: React.FC<IUploadButton> = ({
|
|||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<label>
|
<label className='sr-only'>
|
||||||
<span className='sr-only'>{intl.formatMessage(messages.upload)}</span>
|
<span>{intl.formatMessage(messages.upload)}</span>
|
||||||
<input
|
<input
|
||||||
key={resetFileKey}
|
key={resetFileKey}
|
||||||
ref={fileElement}
|
ref={fileElement}
|
||||||
|
|||||||
Reference in New Issue
Block a user