refactor: mobile popover UX (#2140)

This commit is contained in:
Aman Harwara
2023-01-18 01:00:23 +05:30
committed by GitHub
parent 7af4ecbc3d
commit baf77516fe
33 changed files with 237 additions and 117 deletions

View File

@@ -101,6 +101,7 @@ const FileViewWithoutProtection = ({ application, viewControllerManager, file }:
icon="info"
/>
<Popover
title="Details"
open={isFileInfoPanelOpen}
togglePopover={toggleFileInfoPanel}
anchorElement={fileInfoButtonRef.current}
@@ -117,7 +118,9 @@ const FileViewWithoutProtection = ({ application, viewControllerManager, file }:
/>
</div>
</div>
<LinkedItemBubblesContainer item={file} linkingController={viewControllerManager.linkingController} />
<div className="hidden md:flex">
<LinkedItemBubblesContainer item={file} linkingController={viewControllerManager.linkingController} />
</div>
</div>
</div>
<div className="flex min-h-0 flex-grow flex-col">