New page loading and error cases:

* adding new custom elements: spinner and error
* using them on async tasks
This commit is contained in:
John Livingston
2024-06-11 16:25:05 +02:00
parent 75ac7a1052
commit 597afc8ba6
9 changed files with 55 additions and 6 deletions

View File

@ -110,6 +110,7 @@
color: orange;
}
livechat-error,
.peertube-plugin-livechat-error {
color: red;
}
@ -202,6 +203,7 @@ table.peertube-plugin-livechat-prosody-list-rooms td {
}
}
livechat-spinner,
.livechat-spinner {
display: flex;
flex-direction: row;
@ -246,3 +248,9 @@ table.peertube-plugin-livechat-prosody-list-rooms td {
max-width: 30vw;
}
}
livechat-error {
display: block;
padding: 50px;
text-align: center;
}