about summary refs log tree commit diff
path: root/src/components/Dialog/types.ts
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-25 09:20:37 -0800
committerGitHub <noreply@github.com>2025-02-25 09:20:37 -0800
commitcc8369e868ec684120a220dfa66845dad324b4a1 (patch)
tree9a5abaaa526644d16785e3a530a16010ab2b0107 /src/components/Dialog/types.ts
parent04378386494fac38002fa7459464952040b58d55 (diff)
downloadvoidsky-cc8369e868ec684120a220dfa66845dad324b4a1.tar.zst
Better tablet layout (#7656)
* better tablet layout

* adjust left nav spacing

* add right nav to pwi

* clearer logic

* fix a couple screens that don't need the tablet layout

* fix horiz scroll bar

* fix double trending

* fix ts-ignore

* fix labeller screen

* don't offset things within dialogs

* fix load latest button (and add scale animation)

* center loader on home screen

* adjust break points

* adjust left nav spacing

* fix load latest btn (again)

* add lang select to right nav if left nav is minimal

* fix double scrollbar on tiny screens

* fix scrollbar

* fix type errors
Diffstat (limited to 'src/components/Dialog/types.ts')
-rw-r--r--src/components/Dialog/types.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Dialog/types.ts b/src/components/Dialog/types.ts
index b87bfe2b7..32886f3ce 100644
--- a/src/components/Dialog/types.ts
+++ b/src/components/Dialog/types.ts
@@ -44,6 +44,8 @@ export type DialogContextProps = {
   nativeSnapPoint: BottomSheetSnapPoint
   disableDrag: boolean
   setDisableDrag: React.Dispatch<React.SetStateAction<boolean>>
+  // in the event that the hook is used outside of a dialog
+  isWithinDialog: boolean
 }
 
 export type DialogControlOpenOptions = {