diff options
| author | luc <luc@debianluc> | 2015-10-21 02:49:51 +0200 |
|---|---|---|
| committer | luc <luc@debianluc> | 2015-10-21 02:49:51 +0200 |
| commit | 37e28e0dd3788e0481e95f7ae2b4c970ac5556ae (patch) | |
| tree | 983c9eb0110d0ef15c866a8aa47d146730c3030d /htroot/env/base.css | |
| parent | e2d00585e2456b3418a6d65fc8ac78f0a641f22d (diff) | |
- Keep aspect ratio of images rendered directly by browser such as gif
and svg.
- Corrected quadratic rendering of landscape images with height smaller
than maxHeight
Diffstat (limited to 'htroot/env/base.css')
| -rw-r--r-- | htroot/env/base.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/htroot/env/base.css b/htroot/env/base.css index 6f908e89b..c65877797 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -260,6 +260,8 @@ tt, *.tt { width: 128px; height: 128px; /* 96px thumbnail + some lines of text */ float: left; + /* Cut non square images not rendered by YaCy ViewImage */ + overflow: hidden; } .hides .hoverShow { |
