From 998a045a023fd453eb0183289b2a453bd6ae99a7 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Thu, 24 Jun 2021 23:04:47 -0700 Subject: [PATCH] session.ui: Use minimum fold threshold policy for leaflet This fixes https://gitlab.gnome.org/GNOME/fractal/-/issues/780 by using the sum of minimum sizes as the size to fold the leaflet at. --- data/resources/style.css | 5 ++--- data/resources/ui/session.ui | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/resources/style.css b/data/resources/style.css index 34e8d98e..ea4085e7 100644 --- a/data/resources/style.css +++ b/data/resources/style.css @@ -90,8 +90,7 @@ headerbar.flat { } .sidebar .room .highlight { - /* TODO: use correct color variable */ - background-color: @theme_selected_bg_color; + background-color: @accent_bg_color; } /* Content */ @@ -147,7 +146,7 @@ headerbar.flat { } .message-entry > .view:focus { - border: 2px solid @theme_selected_bg_color; + border: 2px solid @accent_bg_color; padding: 5px; } diff --git a/data/resources/ui/session.ui b/data/resources/ui/session.ui index b53a91db..3330f2a2 100644 --- a/data/resources/ui/session.ui +++ b/data/resources/ui/session.ui @@ -46,6 +46,7 @@ + minimum