Hotfix mobile web styling issues (#1039)
* remove hardcoded height for bottom bar * prevent overflow of tab bar on mobile webzio/stable
parent
302490cb31
commit
3517d9fa28
|
@ -117,6 +117,7 @@ const styles = isDesktopWeb
|
||||||
flex: 1,
|
flex: 1,
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
|
maxWidth: '100%',
|
||||||
},
|
},
|
||||||
contentContainer: {
|
contentContainer: {
|
||||||
columnGap: isMobileWeb ? 0 : 20,
|
columnGap: isMobileWeb ? 0 : 20,
|
||||||
|
|
|
@ -5,7 +5,8 @@ import {ComposePost} from '../com/composer/Composer'
|
||||||
import {ComposerOpts} from 'state/models/ui/shell'
|
import {ComposerOpts} from 'state/models/ui/shell'
|
||||||
import {usePalette} from 'lib/hooks/usePalette'
|
import {usePalette} from 'lib/hooks/usePalette'
|
||||||
import {isMobileWeb} from 'platform/detection'
|
import {isMobileWeb} from 'platform/detection'
|
||||||
import {BOTTOM_BAR_HEIGHT} from 'view/shell/bottom-bar/BottomBarStyles'
|
|
||||||
|
const BOTTOM_BAR_HEIGHT = 61
|
||||||
|
|
||||||
export const Composer = observer(
|
export const Composer = observer(
|
||||||
({
|
({
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
import {StyleSheet} from 'react-native'
|
import {StyleSheet} from 'react-native'
|
||||||
import {colors} from 'lib/styles'
|
import {colors} from 'lib/styles'
|
||||||
|
|
||||||
export const BOTTOM_BAR_HEIGHT = 61
|
|
||||||
|
|
||||||
export const styles = StyleSheet.create({
|
export const styles = StyleSheet.create({
|
||||||
bottomBar: {
|
bottomBar: {
|
||||||
height: BOTTOM_BAR_HEIGHT,
|
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
|
|
Loading…
Reference in New Issue