diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-20 03:23:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-20 03:23:11 +0200 |
| commit | 270d9ccc3f93f29559dbf9c746070812a63e99e1 (patch) | |
| tree | 90a168324cd78dc6edecf901440445b2f410ac60 /public/assets | |
| parent | 3c9ccd38751501bbf5b9cd2c54dee370681fdb5b (diff) | |
fileviewer compoonent
Diffstat (limited to 'public/assets')
| -rw-r--r-- | public/assets/css/css.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/public/assets/css/css.css b/public/assets/css/css.css index 5bf3a99..44dba16 100644 --- a/public/assets/css/css.css +++ b/public/assets/css/css.css @@ -660,6 +660,23 @@ input.small { overflow: hidden; } +/* browser / file viewer */ +.fileViewer .text { + white-space: pre; + font-family: Menlo, monospace; + background: #f8f8f8; + border: 1px solid #ddd; + padding: 4px; + color: #111; + max-width: 100%; + max-height: 80vh; + overflow: auto; +} +.fileViewer img { + max-width: 80vw; + max-height: 80vh; +} + /* system */ .screen { width: 750px; |
