Align rec and audio only labels

This commit is contained in:
Horatiu Muresan 2022-05-05 18:25:04 +03:00
parent 1829a9b678
commit 0a07770c20
2 changed files with 13 additions and 4 deletions

View File

@ -39,7 +39,7 @@ const TitleBar = (props: Props) : JSX.Element => (<>
<View
pointerEvents = 'box-none'
style = { styles.roomNameWrapper }>
<View style = { styles.headerLabels }>
<View style = { styles.qualityLabelContainer }>
<VideoQualityLabel />
</View>

View File

@ -96,6 +96,15 @@ export default {
}
},
qualityLabelContainer: {
borderBottomLeftRadius: 3,
borderTopLeftRadius: 3,
flexShrink: 1,
paddingHorizontal: 2,
justifyContent: 'center',
marginTop: 8
},
roomTimer: {
color: BaseTheme.palette.text01,
...BaseTheme.typography.bodyShortBold,
@ -145,7 +154,8 @@ export default {
borderBottomLeftRadius: 3,
borderTopLeftRadius: 3,
flexShrink: 1,
paddingHorizontal: 2
paddingHorizontal: 2,
justifyContent: 'center'
},
titleBarSafeViewColor: {
@ -177,8 +187,7 @@ export default {
backgroundColor: 'rgba(0,0,0,0.6)',
flexShrink: 1,
justifyContent: 'center',
paddingHorizontal: 5,
marginBottom: 8
paddingHorizontal: 5
},
roomName: {