From 1d77a676835c18161262de8b55ad8e7603d46343 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 5 Nov 2018 10:09:05 +0100 Subject: [PATCH] fix room list chevron --- res/css/structures/_RoomSubList.scss | 9 ++- res/img/topleft-chevron.svg | 99 +++++++++++++++++++++++----- 2 files changed, 88 insertions(+), 20 deletions(-) diff --git a/res/css/structures/_RoomSubList.scss b/res/css/structures/_RoomSubList.scss index e062a912a5..2b89e055df 100644 --- a/res/css/structures/_RoomSubList.scss +++ b/res/css/structures/_RoomSubList.scss @@ -109,12 +109,11 @@ limitations under the License. pointer-events: none; position: absolute; top: 11px; - width: 9px; - height: 4px; + width: 10px; + height: 6px; background-image: url('../../img/topleft-chevron.svg'); - background-size: cover; - // the transition doesn't work as the chevron gets remounted - transition: rotateZ 0.2s ease-in; + background-repeat: no-repeat; + transition: transform 0.2s ease-in; } .mx_RoomSubList_chevronDown { diff --git a/res/img/topleft-chevron.svg b/res/img/topleft-chevron.svg index 9fbf5fe9ca..fa89852874 100644 --- a/res/img/topleft-chevron.svg +++ b/res/img/topleft-chevron.svg @@ -1,17 +1,86 @@ - - - - dropdown - Created with Sketch. - - - - - - - - - + + + + + + image/svg+xml + + dropdown + + + + + + dropdown + Created with Sketch. + + + + + + + + - \ No newline at end of file + +