forked from github/plane
fix: module header hide on bigger screens (#3590)
* fix: module header hide on bigger screens * fix: Add Inbox back on mobile --------- Co-authored-by: Maximilian Engel <maximilian.engel@swg.de> Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
729b6ac79e
commit
346c6f5414
@ -200,8 +200,8 @@ export const ProjectIssuesHeader: React.FC = observer(() => {
|
|||||||
handleDisplayPropertiesUpdate={handleDisplayProperties}
|
handleDisplayPropertiesUpdate={handleDisplayProperties}
|
||||||
/>
|
/>
|
||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
|
</div>
|
||||||
{currentProjectDetails?.inbox_view && inboxDetails && (
|
{currentProjectDetails?.inbox_view && inboxDetails && (
|
||||||
<Link href={`/${workspaceSlug}/projects/${projectId}/inbox/${inboxDetails?.id}`}>
|
<Link href={`/${workspaceSlug}/projects/${projectId}/inbox/${inboxDetails?.id}`}>
|
||||||
<span>
|
<span>
|
||||||
<Button variant="neutral-primary" size="sm" className="relative">
|
<Button variant="neutral-primary" size="sm" className="relative">
|
||||||
@ -214,9 +214,7 @@ export const ProjectIssuesHeader: React.FC = observer(() => {
|
|||||||
</Button>
|
</Button>
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</div>
|
|
||||||
{canUserCreateIssue && (
|
{canUserCreateIssue && (
|
||||||
<>
|
<>
|
||||||
<Button className="hidden md:block" onClick={() => setAnalyticsModal(true)} variant="neutral-primary" size="sm">
|
<Button className="hidden md:block" onClick={() => setAnalyticsModal(true)} variant="neutral-primary" size="sm">
|
||||||
|
@ -77,7 +77,7 @@ export const ModuleMobileHeader = () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="block md:hidden">
|
||||||
<ProjectAnalyticsModal
|
<ProjectAnalyticsModal
|
||||||
isOpen={analyticsModal}
|
isOpen={analyticsModal}
|
||||||
onClose={() => setAnalyticsModal(false)}
|
onClose={() => setAnalyticsModal(false)}
|
||||||
@ -157,6 +157,6 @@ export const ModuleMobileHeader = () => {
|
|||||||
Analytics
|
Analytics
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user