about summary refs log tree commit diff
path: root/src/lib/styles.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-01-22 15:04:41 -0800
committerPaul Frazee <pfrazee@gmail.com>2024-01-22 15:04:41 -0800
commitd25b17ab19e7373b4463be13b8611997b3f028dd (patch)
treea4dff6d920f5cb72d1bd9177c2503a8ee7485019 /src/lib/styles.ts
parentad018d8dbd9353af2a66a0b21a232ee3225bbcf8 (diff)
parentd51ad1fec94ef933eafe0e5f58fba810e349494b (diff)
downloadvoidsky-d25b17ab19e7373b4463be13b8611997b3f028dd.tar.zst
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/lib/styles.ts')
-rw-r--r--src/lib/styles.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/styles.ts b/src/lib/styles.ts
index 5a10fea86..df9b49260 100644
--- a/src/lib/styles.ts
+++ b/src/lib/styles.ts
@@ -1,6 +1,6 @@
 import {Dimensions, StyleProp, StyleSheet, TextStyle} from 'react-native'
 import {Theme, TypographyVariant} from './ThemeContext'
-import {isMobileWeb} from 'platform/detection'
+import {isWeb} from 'platform/detection'
 
 // 1 is lightest, 2 is light, 3 is mid, 4 is dark, 5 is darkest
 export const colors = {
@@ -175,7 +175,7 @@ export const s = StyleSheet.create({
   // dimensions
   w100pct: {width: '100%'},
   h100pct: {height: '100%'},
-  hContentRegion: isMobileWeb ? {flex: 1} : {height: '100%'},
+  hContentRegion: isWeb ? {minHeight: '100%'} : {height: '100%'},
   window: {
     width: Dimensions.get('window').width,
     height: Dimensions.get('window').height,