MOBILE-3320 core: Fix some styles on blocks and empty box

main
Pau Ferrer Ocaña 2021-05-26 14:48:31 +02:00
parent 2fafe48af6
commit 0a99f035da
3 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,6 @@
:host { :host {
display: contents;
.core-empty-box { .core-empty-box {
position: absolute; position: absolute;
top: 0; top: 0;
@ -47,7 +49,7 @@
z-index: 0; z-index: 0;
} }
@media (max-width: 350px) { @media (max-height: 550px) {
.core-empty-box { .core-empty-box {
position: relative; position: relative;
height: auto; height: auto;
@ -73,4 +75,3 @@
:host-context(core-block-course-blocks) .core-empty-box { :host-context(core-block-course-blocks) .core-empty-box {
position: relative; position: relative;
} }

View File

@ -38,7 +38,6 @@
.core-loading-content { .core-loading-content {
display: contents; display: contents;
padding-bottom: 1px; /* This makes height be real */
} }
&.core-loading-noheight .core-loading-content { &.core-loading-noheight .core-loading-content {
@ -56,9 +55,5 @@
padding-top: 20px; padding-top: 20px;
position: relative; position: relative;
} }
.core-loading-content {
display: block;
}
} }
} }

View File

@ -1,6 +1,7 @@
:host { :host {
position: relative; position: relative;
display: block; display: flex;
flex-direction: column;
background: var(--background); background: var(--background);
ion-item-divider { ion-item-divider {