49 lines
707 B
SCSS
49 lines
707 B
SCSS
:host {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: block;
|
|
|
|
// Ensure error messages are selectable.
|
|
user-select: text;
|
|
// Safari only has prefixed support.
|
|
-webkit-user-select: text;
|
|
}
|
|
|
|
div.wrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
div.message {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding: 20px;
|
|
height: 100%;
|
|
}
|
|
|
|
div.message div.contents {
|
|
padding: 10px;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
div.message div.icon {
|
|
padding: 10px;
|
|
}
|
|
|
|
.vertical {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.message a {
|
|
color: var(--primary-text-color, white);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.message pre {
|
|
margin-top: 20px;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|