[gnome-calculator/wip/cdavis/gtk4: 10/16] css: Fix clamp selectors




commit f3913625033be828d75fe2c50d5ec65d0857bc5e
Author: Christopher Davis <christopherdavis gnome org>
Date:   Wed Oct 20 14:55:13 2021 -0700

    css: Fix clamp selectors
    
    In libadwaita the style classes for clamps
    are applied to the child instead of the clamp
    itself. This commit fixes a few spots I missed
    with the initial port.

 src/ui/calculator.css | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/ui/calculator.css b/src/ui/calculator.css
index 8900f855..6caf282d 100644
--- a/src/ui/calculator.css
+++ b/src/ui/calculator.css
@@ -44,7 +44,7 @@ clamp > grid > :first-child {
   margin-top: 12px;
 }
 
-clamp.small > grid > :first-child {
+clamp > grid.small > :first-child {
   margin-top: 0;
 }
 
@@ -91,18 +91,18 @@ mathconverter > squeezer:not(:first-child) > :first-child {
   margin: 6px 0 0 0;
 }
 
-clamp:not(.small) .bit-panel {
+clamp > :not(.small) .bit-panel {
   border-width: 1px;
   margin: 6px 12px 0 12px;
 }
 
-clamp.small .bit-panel {
+clamp  > .small .bit-panel {
   padding-top:4px;
   padding-bottom: 4px;
   font-size: 0.9em;
 }
 
-clamp.small .bit-panel button {
+clamp > .small .bit-panel button {
   min-height: 20px;
 }
 


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