From 270d9ccc3f93f29559dbf9c746070812a63e99e1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 20 Sep 2018 03:23:11 +0200 Subject: fileviewer compoonent --- public/assets/css/css.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'public/assets') 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; -- cgit v1.2.3-70-g09d2