Realign check icon in aspect dropdown

This commit is contained in:
flaburgan 2014-05-26 23:41:08 +02:00
parent 553a5258a8
commit db18d9810c

View file

@ -120,7 +120,6 @@ input.button {
z-index: 20; z-index: 20;
position: absolute; position: absolute;
width: 140px; width: 140px;
padding: 4px 0;
margin-top: 2px; margin-top: 2px;
background-color: #fff; background-color: #fff;
border: 1px solid $border-dark-grey; border: 1px solid $border-dark-grey;
@ -144,7 +143,7 @@ input.button {
&.selected { &.selected {
background: { background: {
image: image-url('icons/check_yes_ok.png'); image: image-url('icons/check_yes_ok.png');
position: 3px 3px; position: 3px 6px;
repeat: no-repeat; repeat: no-repeat;
} }
} }
@ -152,8 +151,7 @@ input.button {
&.selected:hover { &.selected:hover {
background: { background: {
image: image-url('icons/check_yes_ok_white.png'); image: image-url('icons/check_yes_ok_white.png');
/* bump top position up 1px to compensate for the 1px added top border */ position: 3px 4px;
position: 3px 0px;
} }
} }