[fractal/fix-fractal-next] Revert "session.ui: Use minimum fold threshold policy for leaflet"




commit a08d9f1dc1e24f3ec485a8977fd313981b2091e0
Author: Alejandro Domínguez <adomu net-c com>
Date:   Wed Jun 30 23:12:45 2021 +0200

    Revert "session.ui: Use minimum fold threshold policy for leaflet"
    
    This reverts commit 998a045a023fd453eb0183289b2a453bd6ae99a7.

 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 ea4085e7..34e8d98e 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -90,7 +90,8 @@ headerbar.flat {
 }
 
 .sidebar .room .highlight {
-  background-color: @accent_bg_color;
+  /* TODO: use correct color variable */
+  background-color: @theme_selected_bg_color;
 }
 
 /* Content */
@@ -146,7 +147,7 @@ headerbar.flat {
 }
 
 .message-entry > .view:focus {
-  border: 2px solid @accent_bg_color;
+  border: 2px solid @theme_selected_bg_color;
   padding: 5px;
 }
 
diff --git a/data/resources/ui/session.ui b/data/resources/ui/session.ui
index 3330f2a2..b53a91db 100644
--- a/data/resources/ui/session.ui
+++ b/data/resources/ui/session.ui
@@ -46,7 +46,6 @@
             </child>
             <child>
               <object class="AdwLeaflet" id="content">
-                <property name="fold-threshold-policy">minimum</property>
                 <child>
                   <object class="Sidebar" id="sidebar">
                     <property name="compact" bind-source="content" bind-property="folded" 
bind-flags="sync-create"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]