From 76619cf1ae757739e0643dffee2b48cf76ca828f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 26 Oct 2015 16:51:28 -0400 Subject: [PATCH] entry: Bring back icon padding Not sure why this is necessary now, but it is. --- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 7fad749ce3..c585f8b72a 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -224,8 +224,8 @@ entry { padding: 5px 8px 6px; & image { // icons inside the entry - &.left { padding-left: 0; } - &.right { padding-right: 0; } + &.left { padding-left: 0; padding-right: 6px; } + &.right { padding-left: 6px; padding-right: 0; } } border-radius: 3px; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 5ac2a23852..d001462219 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -163,8 +163,10 @@ entry { border-color: #1c1f1f; box-shadow: inset 0 0 0 1px rgba(33, 93, 156, 0), 0 1px rgba(238, 238, 236, 0.1); } entry image.left { - padding-left: 0; } + padding-left: 0; + padding-right: 6px; } entry image.right { + padding-left: 6px; padding-right: 0; } entry.flat, entry.flat:focus { padding: 2px; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 13c79e0974..a1e95059e3 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -163,8 +163,10 @@ entry { border-color: #a1a1a1; box-shadow: inset 0 0 0 1px rgba(74, 144, 217, 0), 0 1px white; } entry image.left { - padding-left: 0; } + padding-left: 0; + padding-right: 6px; } entry image.right { + padding-left: 6px; padding-right: 0; } entry.flat, entry.flat:focus { padding: 2px;