From c7723ba0b034530d74ac667f2be5ddcc0b801ab7 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 13 Oct 2017 20:56:39 -0600 Subject: [PATCH 1/2] Remove room avatar button CSS Signed-off-by: Travis Ralston --- .../css/matrix-react-sdk/views/rooms/_RoomHeader.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss index bb80832d..05cdfba8 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss @@ -138,10 +138,17 @@ limitations under the License. .mx_RoomHeader_name, .mx_RoomHeader_avatar, .mx_RoomHeader_avatarPicker, -.mx_RoomHeader_avatarPicker_edit { +.mx_RoomHeader_avatarPicker_edit, +.mx_RoomHeader_avatarPicker_remove { cursor: pointer; } +.mx_RoomHeader_avatarPicker_remove { + position: absolute; + top: 10px; + left: 45px; +} + .mx_RoomHeader_name:hover div:not(.mx_RoomHeader_editable) { color: $accent-color; } From 56e775c56a46c298181e43d4bf809f208c2297df Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 13 Oct 2017 21:14:08 -0600 Subject: [PATCH 2/2] Remove user avatar button CSS --- .../css/matrix-react-sdk/structures/_UserSettings.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss b/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss index ec1cfd2e..66072538 100644 --- a/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss +++ b/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss @@ -252,6 +252,16 @@ input.mx_UserSettings_phoneNumberField { display: none; } +.mx_UserSettings_avatarPicker_imgContainer { + display: inline-block; +} + +.mx_UserSettings_avatarPicker_remove { + display: inline-block; + float: right; + margin-right: -15px; +} + .mx_UserSettings_advanced_spoiler, .mx_UserSettings_link { cursor: pointer;