New page loading and error cases:
* adding new custom elements: spinner and error * using them on async tasks
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user