Fix message styles

This commit is contained in:
Diego Sampaio 2017-08-08 23:20:34 -03:00
parent 2eee28797a
commit 06b9b670d6
No known key found for this signature in database
GPG Key ID: E060152B30502562
2 changed files with 17 additions and 17 deletions

View File

@ -8,6 +8,23 @@ const styles = StyleSheet.create({
padding: 14,
flexDirection: 'row',
transform: [{ scaleY: -1 }]
},
avatar: {
backgroundColor: '#ccc',
width: 40,
height: 40,
marginRight: 10,
borderRadius: 5
},
texts: {
flex: 1
},
msg: {
flex: 1
},
username: {
fontWeight: 'bold',
marginBottom: 5
}
});

View File

@ -8,23 +8,6 @@ import { loadMessagesForRoom, sendMessage } from '../lib/meteor';
import Message from '../components/Message';
const styles = StyleSheet.create({
avatar: {
backgroundColor: '#ccc',
width: 40,
height: 40,
marginRight: 10,
borderRadius: 5
},
username: {
fontWeight: 'bold',
marginBottom: 5
},
texts: {
flex: 1
},
msg: {
flex: 1
},
container: {
flex: 1
},