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

View File

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

View File

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