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];
|
const MatchedMode = modeMap[titleMode];
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
px={0}
|
||||||
w="100%"
|
w="100%"
|
||||||
ref={ref}
|
ref={ref}
|
||||||
variant="link"
|
variant="link"
|
||||||
onClick={onClick}
|
|
||||||
flexWrap="wrap"
|
flexWrap="wrap"
|
||||||
|
flexDir="column"
|
||||||
|
onClick={onClick}
|
||||||
_focus={{ boxShadow: "none" }}
|
_focus={{ boxShadow: "none" }}
|
||||||
_hover={{ textDecoration: "none" }}
|
_hover={{ textDecoration: "none" }}
|
||||||
px={0}
|
|
||||||
justifyContent={justifyMap[isSubmitting]}
|
justifyContent={justifyMap[isSubmitting]}
|
||||||
|
alignItems={["flex-start", "flex-start", "center"]}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
<MatchedMode
|
<MatchedMode
|
||||||
|
Reference in New Issue
Block a user