diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-06-19 18:39:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 18:39:45 -0700 |
commit | 80197556f176723b619349dc060d1b7001472d47 (patch) | |
tree | 50127b08d99adc95724967d0531194e10b1fbe04 /src/lib/constants.ts | |
parent | 75aec19230609f8ae689cd1ec0b2697c5233bdeb (diff) | |
download | voidsky-80197556f176723b619349dc060d1b7001472d47.tar.zst |
Rework "Who can reply" to blend more nicely into the UI (#4578)
* Rework WhoCanReply controls in threads to blend more nicely * Fix layout * Fix post control hitslops * Move dialog content to separate component --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 05d1591f5..e0b899800 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -84,6 +84,7 @@ export const createHitslop = (size: number): Insets => ({ export const HITSLOP_10 = createHitslop(10) export const HITSLOP_20 = createHitslop(20) export const HITSLOP_30 = createHitslop(30) +export const POST_CTRL_HITSLOP = {top: 5, bottom: 10, left: 10, right: 10} export const BACK_HITSLOP = HITSLOP_30 export const MAX_POST_LINES = 25 |