Hotfix mobile web styling issues (#1039)

* remove hardcoded height for bottom bar

* prevent overflow of tab bar on mobile web
zio/stable
Ansh 2023-07-19 15:00:40 -07:00 committed by GitHub
parent 302490cb31
commit 3517d9fa28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -117,6 +117,7 @@ const styles = isDesktopWeb
flex: 1,
flexDirection: 'row',
backgroundColor: 'transparent',
maxWidth: '100%',
},
contentContainer: {
columnGap: isMobileWeb ? 0 : 20,

View File

@ -5,7 +5,8 @@ import {ComposePost} from '../com/composer/Composer'
import {ComposerOpts} from 'state/models/ui/shell'
import {usePalette} from 'lib/hooks/usePalette'
import {isMobileWeb} from 'platform/detection'
import {BOTTOM_BAR_HEIGHT} from 'view/shell/bottom-bar/BottomBarStyles'
const BOTTOM_BAR_HEIGHT = 61
export const Composer = observer(
({

View File

@ -1,11 +1,8 @@
import {StyleSheet} from 'react-native'
import {colors} from 'lib/styles'
export const BOTTOM_BAR_HEIGHT = 61
export const styles = StyleSheet.create({
bottomBar: {
height: BOTTOM_BAR_HEIGHT,
position: 'absolute',
bottom: 0,
left: 0,