Remove unwanted black bar at bottom of EPUB viewer after loading
This commit is contained in:
committed by
Aditya Chandel
parent
1309c0f6d7
commit
b7becc50d9
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
<div #epubContainer class="epub-viewer-container">
|
<div #epubContainer class="epub-viewer-container">
|
||||||
<p-progressSpinner *ngIf="isLoading"></p-progressSpinner>
|
<div *ngIf="isLoading" class="spinner-wrapper">
|
||||||
|
<p-progressSpinner></p-progressSpinner>
|
||||||
|
</div>
|
||||||
<div *ngIf="!isLoading">
|
<div *ngIf="!isLoading">
|
||||||
|
|
||||||
<div class="epub-header">
|
<div class="epub-header">
|
||||||
|
|||||||
+13
-1
@@ -15,8 +15,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#epubContainer {
|
#epubContainer {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,3 +124,15 @@
|
|||||||
box-shadow: 0 0 4px #bbb;
|
box-shadow: 0 0 4px #bbb;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spinner-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user