From 6ecdb02e81ccae6bd731838e6ead020fbc12fb04 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 20 Jan 2016 15:26:48 +0000 Subject: [PATCH] sanitize avatar border radii --- .../vector/css/matrix-react-sdk/views/avatars/BaseAvatar.css | 2 +- .../vector/css/matrix-react-sdk/views/rooms/EventTile.css | 5 ----- .../vector/css/matrix-react-sdk/views/rooms/MemberInfo.css | 4 ---- .../vector/css/matrix-react-sdk/views/rooms/RoomHeader.css | 4 ---- .../vector/css/matrix-react-sdk/views/rooms/RoomSettings.css | 4 ---- .../vector/css/matrix-react-sdk/views/rooms/RoomTile.css | 4 ---- .../css/matrix-react-sdk/views/rooms/TabCompleteBar.css | 1 - 7 files changed, 1 insertion(+), 23 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/avatars/BaseAvatar.css b/src/skins/vector/css/matrix-react-sdk/views/avatars/BaseAvatar.css index 487461b5c..dc9f83291 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/avatars/BaseAvatar.css +++ b/src/skins/vector/css/matrix-react-sdk/views/avatars/BaseAvatar.css @@ -28,6 +28,6 @@ limitations under the License. } .mx_BaseAvatar_image { - border-radius: 20px; + border-radius: 40px; vertical-align: top; } diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css index 6de9f5705..2d0205f58 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css @@ -31,11 +31,6 @@ limitations under the License. top: 0px; } -.mx_EventTile_avatar img { - border-radius: 20px; - border: 0px; -} - .mx_EventTile_continuation { margin-top: 8px ! important; } diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css index d750a9fdc..4d421007d 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css @@ -32,10 +32,6 @@ limitations under the License. clear: both; } -.mx_MemberInfo_avatar img { - border-radius: 48px; -} - .mx_MemberInfo_profile { margin-bottom: 16px; } diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomHeader.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomHeader.css index f242241f3..6450d4192 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomHeader.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomHeader.css @@ -224,10 +224,6 @@ limitations under the License. vertical-align: middle; } -.mx_RoomHeader_avatar .mx_RoomAvatar { - border-radius: 24px; -} - .mx_RoomHeader_avatarPicker_edit { position: absolute; margin-left: 16px; diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css index 396660f12..19031e4a5 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css @@ -150,10 +150,6 @@ limitations under the License. color: #a2a2a2; } -.mx_RoomSettings .mx_RoomAvatar { - border-radius: 120px; -} - .mx_RoomSettings_buttons { text-align: right; margin-bottom: 16px; diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css index 094125fa1..44b884e85 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css @@ -33,10 +33,6 @@ limitations under the License. vertical-align: middle; } -.mx_RoomTile_avatar img { - border-radius: 20px; -} - .mx_RoomTile_name { display: table-cell; width: 100%; diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/TabCompleteBar.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/TabCompleteBar.css index e93eccb96..e0d0965e3 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/TabCompleteBar.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/TabCompleteBar.css @@ -41,7 +41,6 @@ limitations under the License. } .mx_TabCompleteBar_item img { - border-radius: 24px; margin-right: 8px; vertical-align: middle; }