Skip to content

Commit 0110308

Browse files
committed
style: Do not wrap user name
1 parent 7658819 commit 0110308

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/components/header.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ export const Header = ({
8181

8282
const MetadataMenu = ({ contentId }: { contentId?: string }) => {
8383
return (
84-
// Disable no large sx for responsive properties
85-
// eslint-disable-next-line visualize-admin/no-large-sx
8684
<Flex
8785
sx={{
8886
flexDirection: ["row", "column"],
@@ -173,6 +171,7 @@ const LogoMobile = () => (
173171
</g>
174172
</svg>
175173
);
174+
176175
const LogoDesktop = () => (
177176
<svg width={224} height={56}>
178177
<title id="logo">

app/login/components/login-menu.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export const LoginMenu = () => {
2626
},
2727
}}
2828
>
29-
<Typography variant="body2">{user.name}</Typography>
29+
<Typography variant="body2" noWrap>
30+
{user.name}
31+
</Typography>
3032
</Button>
3133
<Menu
3234
anchorEl={anchorEl}

0 commit comments

Comments
 (0)