[fractal/fractal-next] room-history: rename content to room-history style class



commit f8b4dea063bf7a0d6fac5f56ab605e27ee558bd8
Author: Julian Sparber <julian sparber net>
Date:   Tue Jun 8 11:51:06 2021 +0200

    room-history: rename content to room-history style class

 data/resources/style.css                  | 16 ++++------------
 data/resources/ui/content-room-history.ui |  2 +-
 2 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index a92cde49..91f3b54d 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -84,29 +84,21 @@ headerbar.flat {
 }
 
 /* Content */
-.content {
-  background-color: @theme_base_color;
-}
-
-.content:backdrop {
-  background-color: @theme_unfocused_base_color;
-}
-
-.content row {
+.room-history row {
   min-height: 0;
   padding-top: 6px;
   padding-bottom: 6px;
 }
 
-.content row.has-header {
+.room-history row.has-header {
   margin-top: 6px;
 }
 
-.content .event-content {
+.room-history .event-content {
   margin-right: 46px;
 }
 
-.content row:not(.has-header) .event-content {
+.room-history row:not(.has-header) .event-content {
   margin-left: 46px;
 }
 
diff --git a/data/resources/ui/content-room-history.ui b/data/resources/ui/content-room-history.ui
index 2a44fb03..b420cb24 100644
--- a/data/resources/ui/content-room-history.ui
+++ b/data/resources/ui/content-room-history.ui
@@ -70,7 +70,7 @@
             <property name="vexpand">True</property>
             <property name="hscrollbar-policy">never</property>
             <style>
-              <class name="content"/>
+              <class name="room-history"/>
             </style>
             <property name="child">
               <object class="AdwClampScrollable">


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