1
0
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:
checktheroads
2020-07-04 19:31:05 -07:00
parent 013fdde8e7
commit 565721169f

View File

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