Adwaita: use margins for entry image spacing
there used to be a padding, since it was the only option in the past, that makes little sense now, hence use margins.
This commit is contained in:
parent
bc070a70a5
commit
bab906f838
@ -254,8 +254,8 @@ entry {
|
||||
@include entry(normal);
|
||||
|
||||
image { // icons inside the entry
|
||||
&.left { padding-left: 0; padding-right: 6px; }
|
||||
&.right { padding-left: 6px; padding-right: 0; }
|
||||
&.left { margin-right: 6px; }
|
||||
&.right { margin-left: 6px; }
|
||||
}
|
||||
|
||||
undershoot {
|
||||
|
@ -171,12 +171,10 @@ entry {
|
||||
box-shadow: inset 0 0 0 1px rgba(33, 93, 156, 0); }
|
||||
spinbutton:not(.vertical) image.left,
|
||||
entry image.left {
|
||||
padding-left: 0;
|
||||
padding-right: 6px; }
|
||||
margin-right: 6px; }
|
||||
spinbutton:not(.vertical) image.right,
|
||||
entry image.right {
|
||||
padding-left: 6px;
|
||||
padding-right: 0; }
|
||||
margin-left: 6px; }
|
||||
spinbutton:not(.vertical) undershoot.left,
|
||||
entry undershoot.left {
|
||||
background-color: transparent;
|
||||
|
@ -171,12 +171,10 @@ entry {
|
||||
box-shadow: inset 0 0 0 1px rgba(74, 144, 217, 0); }
|
||||
spinbutton:not(.vertical) image.left,
|
||||
entry image.left {
|
||||
padding-left: 0;
|
||||
padding-right: 6px; }
|
||||
margin-right: 6px; }
|
||||
spinbutton:not(.vertical) image.right,
|
||||
entry image.right {
|
||||
padding-left: 6px;
|
||||
padding-right: 0; }
|
||||
margin-left: 6px; }
|
||||
spinbutton:not(.vertical) undershoot.left,
|
||||
entry undershoot.left {
|
||||
background-color: transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user