diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-11 19:17:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-11 19:17:48 +0000 |
commit | 2fbce6515d6f87cae8c4f02d082f208595821bdd (patch) | |
tree | b41d298a944b58d2e5239a26a003551a770fb4b3 /public | |
parent | c75157ac4ae830c309b397b43c732a38fe290faf (diff) | |
download | redmine-2fbce6515d6f87cae8c4f02d082f208595821bdd.tar.gz redmine-2fbce6515d6f87cae8c4f02d082f208595821bdd.zip |
Add inline image preview/display for attachments and repository entries (#22058).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/stylesheets/scm.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/stylesheets/scm.css b/public/stylesheets/scm.css index 55cb04062..135f80e05 100644 --- a/public/stylesheets/scm.css +++ b/public/stylesheets/scm.css @@ -67,6 +67,8 @@ table.filecontent td.line-code pre { table.filecontent tr:target th.line-num { background-color:#E0E0E0; color: #777; } table.filecontent tr:target td.line-code { background-color:#DDEEFF; } +img.filecontent.image { max-width: 100%; } + /* 12 different colors for the annonate view */ table.annotate tr.bloc-0 {background: #FFFFBF;} table.annotate tr.bloc-1 {background: #EABFFF;} |