From 2ee1a9c440478c4f163ad0b723d1d5c88a3f06c8 Mon Sep 17 00:00:00 2001 From: wmwragg Date: Mon, 18 Jul 2016 16:20:44 +0100 Subject: [PATCH] Explanatory text about specificity --- src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css | 2 ++ 1 file changed, 2 insertions(+) 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 f2239487..88935fb6 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 @@ -79,6 +79,8 @@ limitations under the License. border-right: 10px solid transparent; } +/* Because the specificity of this and the above ".mx_RoomTile_highlight .mx_RoomTile_badge:after" +style are the same, this style needs to be AFTER it to take effect when matched */ .collapsed .mx_RoomTile_badge:after { display: none; }