mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
feat(web/textui) bottom center position(#507)
This commit is contained in:
@@ -14,9 +14,12 @@ const useStyles = createStyles((theme, params: { position?: TextUiPosition }) =>
|
||||
width: '100%',
|
||||
position: 'absolute',
|
||||
display: 'flex',
|
||||
alignItems: params.position === 'top-center' ? 'baseline' : 'center',
|
||||
justifyContent:
|
||||
params.position === 'right-center' ? 'flex-end' : params.position === 'left-center' ? 'flex-start' : 'center',
|
||||
alignItems:
|
||||
params.position === 'top-center' ? 'baseline' :
|
||||
params.position === 'bottom-center' ? 'flex-end' : 'center',
|
||||
justifyContent:
|
||||
params.position === 'right-center' ? 'flex-end' :
|
||||
params.position === 'left-center' ? 'flex-start' : 'center',
|
||||
},
|
||||
container: {
|
||||
fontSize: 16,
|
||||
|
||||
Reference in New Issue
Block a user