Merge pull request #754 from dermotduffy/Center-progress-indicator

Vertically center the progress indicator
This commit is contained in:
Dermot Duffy
2022-07-03 13:44:33 -07:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
:host {
width: 100%;
height: 100%;
display: block;
display: flex;
}
canvas {
+4 -2
View File
@@ -1,7 +1,9 @@
:host {
min-height: 100%;
width: 100%;
display: block;
display: flex;
flex-direction: column;
justify-content: center;
// Ensure error messages are selectable.
user-select: text;
@@ -30,7 +32,7 @@ div.message div.contents {
padding: 10px;
margin-top: auto;
margin-bottom: auto;
max-width: 100%;
min-width: 0;
}
div.message div.icon {