mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: make nav menu header draggable (#7985)
* web: make part of nav menu header draggable Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> * Update apps/web/src/app.css Signed-off-by: Abdullah Atta <thecodrr@protonmail.com> * Update apps/web/src/components/navigation-menu/index.tsx Signed-off-by: Abdullah Atta <thecodrr@protonmail.com> --------- Signed-off-by: Abdullah Atta <thecodrr@protonmail.com> Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.tabsScroll,
|
||||
.titlebarLogo,
|
||||
.theme-scope-titleBar,
|
||||
.navigation-menu-header,
|
||||
.route-container-header {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
@@ -272,7 +272,9 @@ function NavigationMenu({ onExpand }: { onExpand?: () => void }) {
|
||||
}}
|
||||
>
|
||||
<Flex
|
||||
className="navigation-menu-header"
|
||||
sx={{
|
||||
flex: 1,
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
gap: 1
|
||||
|
||||
Reference in New Issue
Block a user