[gnome-software/wip/exalm/cards-2: 2/2] featured-carousel: Use card style




commit d6a56d4f5bd6629c80942273326785f5febde6d8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Nov 12 16:26:24 2021 +0500

    featured-carousel: Use card style

 src/gs-featured-carousel.ui | 3 +++
 src/style.css               | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-featured-carousel.ui b/src/gs-featured-carousel.ui
index 22f1408cb..6298534c3 100644
--- a/src/gs-featured-carousel.ui
+++ b/src/gs-featured-carousel.ui
@@ -20,6 +20,9 @@
         <property name="valign">fill</property>
         <child>
           <object class="AdwCarousel" id="carousel">
+            <style>
+              <class name="card"/>
+            </style>
           </object>
         </child>
         <child type="overlay">
diff --git a/src/style.css b/src/style.css
index 259d0c577..0f9e948a5 100644
--- a/src/style.css
+++ b/src/style.css
@@ -152,10 +152,6 @@ clamp.large .category-tile:not(.category-tile-iconless) {
        font-size: 16pt;  /* 80% of .title-1 */
 }
 
-.featured-carousel carousel {
-       border-radius: 12px;
-}
-
 .application-details-infobar.info {
        background-color: shade(@theme_bg_color, 0.9);
        color: @theme_fg_color;


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