mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Fix title width issue
This commit is contained in:
@@ -120,15 +120,17 @@ const Title = React.forwardRef(({ onClick, isSubmitting, ...props }, ref) => {
|
||||
const MatchedMode = modeMap[titleMode];
|
||||
return (
|
||||
<Button
|
||||
px={0}
|
||||
w="100%"
|
||||
ref={ref}
|
||||
variant="link"
|
||||
onClick={onClick}
|
||||
flexWrap="wrap"
|
||||
flexDir="column"
|
||||
onClick={onClick}
|
||||
_focus={{ boxShadow: "none" }}
|
||||
_hover={{ textDecoration: "none" }}
|
||||
px={0}
|
||||
justifyContent={justifyMap[isSubmitting]}
|
||||
alignItems={["flex-start", "flex-start", "center"]}
|
||||
{...props}
|
||||
>
|
||||
<MatchedMode
|
||||
|
Reference in New Issue
Block a user