From c346122adfba7ee27e4a832499cf0241c3911f47 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 13 Jul 2020 18:21:24 +0200 Subject: [PATCH] align room header with user menu button --- res/css/views/rooms/_RoomHeader.scss | 6 +++--- src/components/views/rooms/RoomHeader.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/css/views/rooms/_RoomHeader.scss b/res/css/views/rooms/_RoomHeader.scss index 90dd89064e..3499fe0630 100644 --- a/res/css/views/rooms/_RoomHeader.scss +++ b/res/css/views/rooms/_RoomHeader.scss @@ -15,7 +15,7 @@ limitations under the License. */ .mx_RoomHeader { - flex: 0 0 52px; + flex: 0 0 56px; border-bottom: 1px solid $primary-hairline-color; background-color: $roomheader-bg-color; @@ -31,7 +31,7 @@ limitations under the License. .mx_RoomHeader_wrapper { margin: auto; - height: 52px; + height: 56px; display: flex; align-items: center; min-width: 0; @@ -174,7 +174,7 @@ limitations under the License. .mx_RoomHeader_avatar { flex: 0; - margin: 0 7px; + margin: 0 7px 0 6px; position: relative; } diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index 4820d0c8ff..f236ed1070 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -221,7 +221,7 @@ export default createReactClass({ } const topicElement =
{ topic }
; - const avatarSize = 28; + const avatarSize = 32; let roomAvatar; if (this.props.room) { roomAvatar = (