diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-03-29 09:05:49 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-03-29 09:05:49 +0000 |
| commit | b8a73054c75c88b90d41f8a3a203812c621e9c07 (patch) | |
| tree | e1f027f65e097134004575a66cbb5d1d2fc28a11 /scss | |
| parent | add dockerfile (diff) | |
| download | mmm-b8a73054c75c88b90d41f8a3a203812c621e9c07.tar.gz mmm-b8a73054c75c88b90d41f8a3a203812c621e9c07.zip | |
keep last content and display nice errors when problems occur
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_browser.scss | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/scss/_browser.scss b/scss/_browser.scss index 6a0d78b..4d4a260 100644 --- a/scss/_browser.scss +++ b/scss/_browser.scss @@ -67,6 +67,30 @@ } } + .error-wrap { + flex: 0 0 auto; + padding: 1em 2em; + overflow: hidden; + + background: $gray-fail; + + &.empty { + display: none; + } + + > span { + display: inline-block; + margin-bottom: 0.5em; + + font-weight: bold; + color: #f00; + } + + > pre { + margin: 0; + } + } + .content { flex: 1 1 auto; overflow: auto; |
