Remove 'Loading...' title - redundant with the spinner
Also center the text message. Change: 139498679
This commit is contained in:
parent
815fa1b32d
commit
bfe96c9bd8
@ -34,8 +34,9 @@ export function setDomContainer(domElement: HTMLElement) {
|
|||||||
* @param showCloseButton If true, the dialog will have a close button.
|
* @param showCloseButton If true, the dialog will have a close button.
|
||||||
* @return The id of the message.
|
* @return The id of the message.
|
||||||
*/
|
*/
|
||||||
export function setModalMessage(msg: string, id: string = null,
|
export function setModalMessage(
|
||||||
title = 'Loading...', showCloseButton = false): string {
|
msg: string, id: string = null, title = null,
|
||||||
|
showCloseButton = false): string {
|
||||||
if (dom == null) {
|
if (dom == null) {
|
||||||
console.warn('Can\'t show modal message before the dom is initialized');
|
console.warn('Can\'t show modal message before the dom is initialized');
|
||||||
return;
|
return;
|
||||||
|
@ -145,6 +145,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
#notify-msgs {
|
#notify-msgs {
|
||||||
|
text-align: center;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user