Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
remove the bottom gradient entirely for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Jan 31, 2019
1 parent 1ee0dc4 commit c432c79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion res/css/structures/_RoomSubList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c432c79

Please sign in to comment.