From c432c7995337d2f79a0c8520d47aefea71112d0f Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 31 Jan 2019 15:03:32 +0100 Subject: [PATCH] remove the bottom gradient entirely for now --- res/css/structures/_RoomSubList.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/res/css/structures/_RoomSubList.scss b/res/css/structures/_RoomSubList.scss index 04e433de06..eb056a5eff 100644 --- a/res/css/structures/_RoomSubList.scss +++ b/res/css/structures/_RoomSubList.scss @@ -154,12 +154,18 @@ limitations under the License. background: linear-gradient(to top, rgba(242,245,248,0), rgba(242,245,248,1)); } +/* + // for now, we remove the bottomOverflow entirely as we don't want to + // lose the screen real-estate due to a bg-colored gradient, but we also + // don't want to use drop shadows and risk a confusing hierarchy of cards. + // so, instead, we hard-clip at the bottom but soft-clip at the top. &.mx_IndicatorScrollbar_bottomOverflow::after { bottom: 0; transition: background-image 0.1s ease-in; margin: 0px -8px; - background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1)); + background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.0)); } +*/ } .collapsed {