better error handling
This commit is contained in:
parent
7edf44f107
commit
428e8cd298
8 changed files with 66 additions and 34 deletions
|
|
@ -1,10 +1,26 @@
|
|||
.editor {
|
||||
padding: 2px;;
|
||||
padding: 2px;
|
||||
position: relative;
|
||||
}
|
||||
.editor.error {
|
||||
border: 1px solid red;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.errorMessage {
|
||||
display: none;
|
||||
position: absolute;
|
||||
color: darkred;
|
||||
background-color: pink;
|
||||
margin-top: 4px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.editor:hover > .errorMessage {
|
||||
display: block;
|
||||
/* z-index: 9999; */
|
||||
}
|
||||
|
||||
.editor.unknown {
|
||||
border: 1px dashed dodgerblue;
|
||||
display: inline-block;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue