Hotfix mobile web styling issues (#1039)
* remove hardcoded height for bottom bar * prevent overflow of tab bar on mobile web
This commit is contained in:
parent
302490cb31
commit
3517d9fa28
3 changed files with 3 additions and 4 deletions
|
@ -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(
|
||||
({
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue