diff --git a/app/containers/message/User.js b/app/containers/message/User.js index 827a9b7319..705099309e 100644 --- a/app/containers/message/User.js +++ b/app/containers/message/User.js @@ -53,6 +53,7 @@ const User = React.memo(({ navToRoomInfo(navParam)} + style={styles.titleContainer} disabled={author._id === user.id} > diff --git a/app/presentation/UserItem.js b/app/presentation/UserItem.js index bb37108bfa..1f536af063 100644 --- a/app/presentation/UserItem.js +++ b/app/presentation/UserItem.js @@ -23,7 +23,8 @@ const styles = StyleSheet.create({ textContainer: { flex: 1, flexDirection: 'column', - justifyContent: 'center' + justifyContent: 'center', + marginRight: 15 }, name: { fontSize: 17, diff --git a/app/views/RoomActionsView/index.js b/app/views/RoomActionsView/index.js index 4bef27adcc..869c8faca0 100644 --- a/app/views/RoomActionsView/index.js +++ b/app/views/RoomActionsView/index.js @@ -480,7 +480,7 @@ class RoomActionsView extends React.Component { > {t === 'd' && member._id ? : null } - + {room.t === 'd' ? {room.fname} : ( @@ -497,7 +497,7 @@ class RoomActionsView extends React.Component { numberOfLines={1} theme={theme} /> - {room.t === 'd' && } + {room.t === 'd' && } {!item.disabled && } diff --git a/app/views/RoomActionsView/styles.js b/app/views/RoomActionsView/styles.js index 8021dfb2a3..93079c1d89 100644 --- a/app/views/RoomActionsView/styles.js +++ b/app/views/RoomActionsView/styles.js @@ -43,9 +43,11 @@ export default StyleSheet.create({ roomTitleContainer: { flex: 1 }, + roomTitlePadding: { + paddingRight: 16 + }, roomTitle: { fontSize: 16, - paddingRight: 16, ...sharedStyles.textMedium }, roomDescription: { @@ -53,6 +55,7 @@ export default StyleSheet.create({ ...sharedStyles.textRegular }, roomTitleRow: { + paddingRight: 16, flexDirection: 'row', alignItems: 'center' } diff --git a/app/views/RoomInfoView/styles.js b/app/views/RoomInfoView/styles.js index fe82ca7c43..ed6b1d9788 100644 --- a/app/views/RoomInfoView/styles.js +++ b/app/views/RoomInfoView/styles.js @@ -16,28 +16,32 @@ export default StyleSheet.create({ justifyContent: 'center' }, avatarContainer: { - height: 240, + minHeight: 240, flexDirection: 'column', alignItems: 'center', justifyContent: 'center', marginBottom: 20 }, avatarContainerDirectRoom: { - height: 320 + paddingVertical: 16, + minHeight: 320 }, avatar: { marginHorizontal: 10 }, roomTitleContainer: { paddingTop: 20, + marginHorizontal: 16, alignItems: 'center' }, roomTitle: { fontSize: 20, + ...sharedStyles.textAlignCenter, ...sharedStyles.textMedium }, roomUsername: { fontSize: 18, + ...sharedStyles.textAlignCenter, ...sharedStyles.textRegular }, roomTitleRow: { diff --git a/app/views/RoomView/Header/Header.js b/app/views/RoomView/Header/Header.js index 2a668f0ede..d9b527550a 100644 --- a/app/views/RoomView/Header/Header.js +++ b/app/views/RoomView/Header/Header.js @@ -35,6 +35,7 @@ const styles = StyleSheet.create({ alignItems: 'center' }, subtitle: { + marginRight: -16, ...sharedStyles.textRegular, fontSize: 12 }, diff --git a/app/views/RoomsListView/Header/Header.android.js b/app/views/RoomsListView/Header/Header.android.js index b40a9442d7..33ba0b4b97 100644 --- a/app/views/RoomsListView/Header/Header.android.js +++ b/app/views/RoomsListView/Header/Header.android.js @@ -16,7 +16,8 @@ const styles = StyleSheet.create({ }, button: { flexDirection: 'row', - alignItems: 'center' + alignItems: 'center', + marginRight: 64 }, server: { fontSize: 20, @@ -68,7 +69,7 @@ const Header = React.memo(({ {connecting ? {I18n.t('Connecting')} : null} {isFetching ? {I18n.t('Updating')} : null} - {serverName} + {serverName} - {serverName} + {serverName} diff --git a/app/views/RoomsListView/ServerDropdown.js b/app/views/RoomsListView/ServerDropdown.js index de9c95c69b..f151f42d10 100644 --- a/app/views/RoomsListView/ServerDropdown.js +++ b/app/views/RoomsListView/ServerDropdown.js @@ -213,8 +213,8 @@ class ServerDropdown extends Component { ) } - {item.name || item.id} - {item.id} + {item.name || item.id} + {item.id} {item.id === server ? : null} diff --git a/app/views/SidebarView/SidebarItem.js b/app/views/SidebarView/SidebarItem.js index 0b2b8d2bc2..7959438c28 100644 --- a/app/views/SidebarView/SidebarItem.js +++ b/app/views/SidebarView/SidebarItem.js @@ -21,7 +21,7 @@ const Item = React.memo(({ {left} - + {text}