Show error details when trying to import invalid json

This commit is contained in:
Nick O'Leary
2018-10-23 23:06:43 +01:00
parent f488869635
commit 09abec15b1
4 changed files with 107 additions and 5 deletions

View File

@@ -31,3 +31,20 @@
#node-select-library li.list-hover {
background: #ffffd0;
}
.clipboard-import-error {
pre {
margin: 10px 0;
border: none;
color: #666;
span {
padding: 5px 0;
}
span.error {
padding: 5px;
background: #e25151;
color: white;
margin: 0 1px;
}
}
}