From f8fa322485294b5871557144c98dbefbf7791e6d Mon Sep 17 00:00:00 2001 From: David Mohammed Date: Sun, 19 Nov 2017 09:33:01 +0000 Subject: [PATCH] Remove margin:auto from cinnamon menu applet and default theme Upstream PR #788 - This avoids warning messages as margin:auto is not supported in cinnamon 3.4 and later --- README.md | 2 +- common/cinnamon/cinnamon-dark.css | 2 -- common/cinnamon/cinnamon.css | 2 -- common/cinnamon/sass/_common.scss | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 9ffa7bd..88451d1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Arc Theme -Arc is a flat theme with transparent elements for GTK 3, GTK 2 and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments like GNOME, Unity, Budgie, Pantheon, Xfce, MATE, etc. +Arc is a flat theme with transparent elements for GTK 3, GTK 2 and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments like GNOME, Unity, Budgie, Pantheon, Xfce, MATE, Cinnamon (>=3.4) etc. ## Arc is available in three variants diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css index 34f45ef..e26ef0e 100644 --- a/common/cinnamon/cinnamon-dark.css +++ b/common/cinnamon/cinnamon-dark.css @@ -964,7 +964,6 @@ StScrollBar { -boxpointer-gap: 5px; } .menu-favorites-box { - margin: auto; padding: 10px; transition-duration: 300; background-color: #383C4A; @@ -975,7 +974,6 @@ StScrollBar { border: 1px solid transparent; } .menu-places-box { - margin: auto; padding: 10px; border: 0px solid red; } diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css index b816ac3..f39733b 100644 --- a/common/cinnamon/cinnamon.css +++ b/common/cinnamon/cinnamon.css @@ -964,7 +964,6 @@ StScrollBar { -boxpointer-gap: 5px; } .menu-favorites-box { - margin: auto; padding: 10px; transition-duration: 300; background-color: #F5F6F7; @@ -975,7 +974,6 @@ StScrollBar { border: 1px solid transparent; } .menu-places-box { - margin: auto; padding: 10px; border: 0px solid red; } diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index 00af8f7..f560937 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -1099,7 +1099,6 @@ StScrollBar { // .menu { &-favorites-box { - margin: auto; padding: 10px; transition-duration: 300; background-color: $bg_color; @@ -1116,7 +1115,6 @@ StScrollBar { &-places { &-box { - margin: auto; padding: 10px; border: 0px solid red; }