diff --git a/res/css/structures/_GroupGridView.scss b/res/css/structures/_GroupGridView.scss index 130d3e89f6..9e5c5c3379 100644 --- a/res/css/structures/_GroupGridView.scss +++ b/res/css/structures/_GroupGridView.scss @@ -35,9 +35,34 @@ limitations under the License. } .mx_GroupGridView_activeTile { - border: 1px solid red !important; + position: relative; } +.mx_GroupGridView_activeTile:before, +.mx_GroupGridView_activeTile:after { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + content: ""; + pointer-events: none; + z-index: 10000; +} + +.mx_GroupGridView_activeTile:before { + border-radius: 14px; + border: 8px solid rgba(134, 193, 165, 0.5); + margin: -8px; +} + +.mx_GroupGridView_activeTile:after { + border-radius: 8px; + border: 2px solid rgba(134, 193, 165, 1); + margin: -2px; +} + + .mx_GroupGridView_tile > .mx_RoomView { height: 100%; } diff --git a/res/css/structures/_MatrixChat.scss b/res/css/structures/_MatrixChat.scss index 1ccbd19391..a843bb7fee 100644 --- a/res/css/structures/_MatrixChat.scss +++ b/res/css/structures/_MatrixChat.scss @@ -80,7 +80,8 @@ limitations under the License. Empirically this stops the MessagePanel's width exploding outwards when gemini is in 'prevented' mode */ - overflow-x: auto; + // disabling this for now as it clips the active room rect on the grid view + // overflow-x: auto; /* To fix https://github.com/vector-im/riot-web/issues/3298 where Safari needed height 100% all the way down to the HomePage. Height does not