From edb556f22e792b268d50fc57432d54604bb1850c Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Fri, 10 Jul 2020 02:15:46 +0100 Subject: [PATCH] Stop safari from agressivly shrinking --- res/css/structures/_LeftPanel2.scss | 3 +++ res/css/views/rooms/_RoomSublist2.scss | 2 ++ 2 files changed, 5 insertions(+) diff --git a/res/css/structures/_LeftPanel2.scss b/res/css/structures/_LeftPanel2.scss index b3f7fcc8ee..2062acf6b6 100644 --- a/res/css/structures/_LeftPanel2.scss +++ b/res/css/structures/_LeftPanel2.scss @@ -55,6 +55,7 @@ $tagPanelWidth: 70px; // only applies in this file, used for calculations .mx_LeftPanel2_userHeader { padding: 12px 12px 20px; // 12px top, 12px sides, 20px bottom + flex-shrink: 0; // Create another flexbox column for the rows to stack within display: flex; @@ -80,6 +81,8 @@ $tagPanelWidth: 70px; // only applies in this file, used for calculations margin-left: 12px; margin-right: 12px; + flex-shrink: 0; + // Create a flexbox to organize the inputs display: flex; align-items: center; diff --git a/res/css/views/rooms/_RoomSublist2.scss b/res/css/views/rooms/_RoomSublist2.scss index 83e7e68563..eca738c46a 100644 --- a/res/css/views/rooms/_RoomSublist2.scss +++ b/res/css/views/rooms/_RoomSublist2.scss @@ -24,6 +24,8 @@ limitations under the License. margin-left: 8px; width: 100%; + flex-shrink: 0; + .mx_RoomSublist2_headerContainer { // Create a flexbox to make alignment easy display: flex;