Fix border on some listing screens (#5115)
* Fix border on PostQuotes, add debug atom * Add util_screen_outer, apply to h_full_vh here needed
This commit is contained in:
parent
5c2e9f09bf
commit
ddda612c11
6 changed files with 24 additions and 6 deletions
|
@ -1,9 +1,14 @@
|
|||
import {Platform, StyleSheet} from 'react-native'
|
||||
import {Platform, StyleSheet, ViewStyle} from 'react-native'
|
||||
|
||||
import * as tokens from '#/alf/tokens'
|
||||
import {native, web} from '#/alf/util/platform'
|
||||
|
||||
export const atoms = {
|
||||
debug: {
|
||||
borderColor: 'red',
|
||||
borderWidth: 1,
|
||||
},
|
||||
|
||||
/*
|
||||
* Positioning
|
||||
*/
|
||||
|
@ -55,6 +60,19 @@ export const atoms = {
|
|||
height: '100vh',
|
||||
}),
|
||||
|
||||
/**
|
||||
* Used for the outermost components on screens, to ensure that they can fill
|
||||
* the screen and extend beyond.
|
||||
*/
|
||||
util_screen_outer: [
|
||||
web({
|
||||
minHeight: '100vh',
|
||||
}),
|
||||
native({
|
||||
height: '100%',
|
||||
}),
|
||||
] as ViewStyle,
|
||||
|
||||
/*
|
||||
* Theme-independent bg colors
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue