Merge branch 'main' into 3p-moderators
This commit is contained in:
+8
-1
@@ -1,3 +1,4 @@
|
||||
import {Platform} from 'react-native'
|
||||
import {web, native} from '#/alf/util/platform'
|
||||
import * as tokens from '#/alf/tokens'
|
||||
|
||||
@@ -6,7 +7,7 @@ export const atoms = {
|
||||
* Positioning
|
||||
*/
|
||||
fixed: {
|
||||
position: 'fixed',
|
||||
position: Platform.select({web: 'fixed', native: 'absolute'}) as 'absolute',
|
||||
},
|
||||
absolute: {
|
||||
position: 'absolute',
|
||||
@@ -114,6 +115,12 @@ export const atoms = {
|
||||
flex_row: {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
flex_col_reverse: {
|
||||
flexDirection: 'column-reverse',
|
||||
},
|
||||
flex_row_reverse: {
|
||||
flexDirection: 'row-reverse',
|
||||
},
|
||||
flex_wrap: {
|
||||
flexWrap: 'wrap',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user