Skip to content

Commit 77fccac

Browse files
authored
fix: message styles (#6541)
1 parent 0bdaeec commit 77fccac

29 files changed

+67872
-59692
lines changed

app/containers/AudioPlayer/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,7 @@ const AudioPlayer = ({
170170
}
171171

172172
return (
173-
<View
174-
style={[
175-
styles.audioContainer,
176-
{ backgroundColor: colors.surfaceLight, borderColor: colors.strokeExtraLight, marginTop: 4 }
177-
]}>
173+
<View style={[styles.audioContainer, { backgroundColor: colors.surfaceLight, borderColor: colors.strokeExtraLight }]}>
178174
<PlayButton disabled={disabled} audioState={audioState} onPress={onPress} />
179175
<Seek currentTime={currentTime} duration={duration} loaded={!disabled && isDownloaded} onChangeTime={setPosition} />
180176
{audioState === 'playing' || focused ? <PlaybackSpeed /> : null}

app/containers/AudioPlayer/styles.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ const styles = StyleSheet.create({
1010
alignItems: 'center',
1111
height: 56,
1212
borderWidth: 1,
13-
borderRadius: 4,
14-
marginBottom: 8
13+
borderRadius: 4
1514
},
1615
playPauseButton: {
1716
alignItems: 'center',

app/containers/MessageSeparator.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ const styles = StyleSheet.create({
1111
container: {
1212
flexDirection: 'row',
1313
alignItems: 'center',
14-
marginTop: 16,
15-
marginBottom: 4,
16-
marginHorizontal: 14
14+
margin: 12
1715
},
1816
line: {
1917
height: 1,

0 commit comments

Comments
 (0)