MOBILE-2795 ux: Fix margin on item-start img or icon

main
Pau Ferrer Ocaña 2019-01-09 10:26:36 +01:00
parent 67b8e94aaa
commit cb4f6c196a
4 changed files with 18 additions and 1 deletions

View File

@ -21,6 +21,11 @@ ion-app.app-root.md {
@include margin-horizontal($item-md-padding-start + ($item-md-padding-start / 2) - 1, null); @include margin-horizontal($item-md-padding-start + ($item-md-padding-start / 2) - 1, null);
} }
.item-md img[item-start] + .item-inner,
.item-md img[item-start] + .item-input {
@include margin-horizontal($item-md-padding-start + ($item-md-padding-start / 2), null);
}
@each $color-name, $color-base, $color-contrast in get-colors($colors-md) { @each $color-name, $color-base, $color-contrast in get-colors($colors-md) {
.core-#{$color-name}-card { .core-#{$color-name}-card {
@extend .card-md; @extend .card-md;

View File

@ -943,6 +943,12 @@ details summary {
pointer-events: auto; pointer-events: auto;
} }
.icon.fa-graduation-cap{
font-size: 21px;
width: 21px;
line-height: 28px;
}
// Fix iframes in fullscreen mode. // Fix iframes in fullscreen mode.
// //
// Ionic sets "contain: strict" to some elements. This enables paint containment, // Ionic sets "contain: strict" to some elements. This enables paint containment,

View File

@ -17,7 +17,9 @@ ion-app.app-root.wp {
} }
.item-wp ion-spinner[item-start] + .item-inner, .item-wp ion-spinner[item-start] + .item-inner,
.item-wp ion-spinner[item-start] + .item-input { .item-wp ion-spinner[item-start] + .item-input,
.item-wp img[item-start] + .item-inner,
.item-wp img[item-start] + .item-input {
@include margin-horizontal(($item-wp-padding-start / 2), null); @include margin-horizontal(($item-wp-padding-start / 2), null);
} }

View File

@ -138,4 +138,8 @@ ion-app.app-root.wp core-course-module {
margin-top: 8px; margin-top: 8px;
margin-bottom: 8px; margin-bottom: 8px;
} }
}
ion-app.app-root a.core-course-module-handler.item [item-start] + .item-inner {
@include margin-horizontal(4px, null);
} }