Adding front-end error messages (ugly, but helps diagnose issues)
This commit is contained in:
20
src/scss/components/_error-boundary.scss
Executable file
20
src/scss/components/_error-boundary.scss
Executable file
@ -0,0 +1,20 @@
|
||||
|
||||
.error-boundary {
|
||||
padding: 20px;
|
||||
|
||||
&__title {
|
||||
color: colour(red);
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
|
||||
.icon {
|
||||
font-size: 1em;
|
||||
padding-right: 10px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
&__trace {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
@ -232,6 +232,8 @@
|
||||
&--context-menu-trigger {
|
||||
font-size: 14px;
|
||||
margin: -14px -14px -14px 0;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
&:before {
|
||||
display: none !important;
|
||||
|
||||
Reference in New Issue
Block a user