[gtk/add-color-button-fix] Adwaita: Fix 'add color' button corners



commit e09beee62a55bb61fb559ac3ae2b8275a2595c08
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 1 17:18:39 2019 +0000

    Adwaita: Fix 'add color' button corners
    
    The specification for border-radius goes
    top-left top-right bottom-right bottom-left.
    The css for the add button in the color
    chooser got this wrong, and was showing
    a broken top-right corner.
    
    Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1856

 gtk/theme/Adwaita/_common.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 6628a90100..1faadd14a3 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4342,7 +4342,7 @@ colorswatch {
   }
 
   &#add-color-button {
-    border-radius: $_colorswatch_radius $_colorswatch_radius 0 0;
+    border-radius: $_colorswatch_radius 0 0 $_colorswatch_radius;
 
     &:only-child { border-radius: $_colorswatch_radius; }
 


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