mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
profile button fix on mobile not closing menu
This commit is contained in:
1 parent
23d980916f
commit
85fa610d6b
2 files changed
+5
-2
No files matched your search
@@ -379,7 +379,10 @@ export default function TopNav({
|
||||
label="My Profile"
|
||||
small
|
||||
variant="secondary"
|
||||
onClick={() => history.push(url)}
|
||||
onClick={() => {
|
||||
history.push(url);
|
||||
handleNavLinkClick();
|
||||
}}
|
||||
className="d-block d-lg-none"
|
||||
/>
|
||||
);
|
||||
|
||||
+1
-1
@@ -389,7 +389,7 @@ function NewProfilePage(this: any, props: Props) {
|
||||
];
|
||||
|
||||
return (
|
||||
<Container type="panel-full" className="profile-container">
|
||||
<Container type="panel-full">
|
||||
<Panel clear={true}>
|
||||
<div className="d-flex flex-column flex-lg-row py-4">
|
||||
<div className="mb-3 me-lg-4 mb-lg-0">
|
||||
|
||||
Reference in new issue
Block a user