mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #198 from sheldonnbbaker/patch-1
Target only direct descendants of .item-thumbnail-*
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
/**
|
||||
* Items
|
||||
* --------------------------------------------------
|
||||
@@ -403,7 +402,7 @@ button.item-button-right:after {
|
||||
padding-left: $item-thumbnail-width + $item-thumbnail-margin + $item-padding;
|
||||
min-height: $item-thumbnail-height + ($item-thumbnail-margin * 2);
|
||||
|
||||
img:first-child, .item-image {
|
||||
> img:first-child, > .item-image {
|
||||
position: absolute;
|
||||
top: $item-thumbnail-margin;
|
||||
left: $item-thumbnail-margin;
|
||||
@@ -417,7 +416,7 @@ button.item-button-right:after {
|
||||
padding-right: $item-thumbnail-width + $item-thumbnail-margin + $item-padding;
|
||||
min-height: $item-thumbnail-height + ($item-thumbnail-margin * 2);
|
||||
|
||||
img:first-child, .item-image {
|
||||
> img:first-child, > .item-image {
|
||||
position: absolute;
|
||||
top: $item-thumbnail-margin;
|
||||
right: $item-thumbnail-margin;
|
||||
|
||||
Reference in New Issue
Block a user