mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
[Glitch] Change navigation layout on small screens in web UI
Port a13b33d851 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -27,6 +27,7 @@ interface Props {
|
||||
counter?: number;
|
||||
href?: string;
|
||||
ariaHidden?: boolean;
|
||||
ariaControls?: string;
|
||||
label?: string;
|
||||
obfuscateCount?: boolean;
|
||||
}
|
||||
@@ -54,6 +55,7 @@ export const IconButton = forwardRef<HTMLButtonElement, Props>(
|
||||
overlay = false,
|
||||
tabIndex = 0,
|
||||
ariaHidden = false,
|
||||
ariaControls,
|
||||
label,
|
||||
obfuscateCount,
|
||||
},
|
||||
@@ -158,6 +160,7 @@ export const IconButton = forwardRef<HTMLButtonElement, Props>(
|
||||
aria-label={title}
|
||||
aria-expanded={expanded}
|
||||
aria-hidden={ariaHidden}
|
||||
aria-controls={ariaControls}
|
||||
title={title}
|
||||
className={classes}
|
||||
onClick={handleClick}
|
||||
|
||||
Reference in New Issue
Block a user