pl-fe: style fixes for ladybird

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-05-23 18:19:40 +02:00
parent edf105bfc9
commit e7e0e964af
3 changed files with 4 additions and 4 deletions

View File

@ -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 (

View File

@ -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,

View File

@ -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}