diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-08-28 17:51:26 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-09-02 10:32:43 +0200 |
commit | e85620ab69a0a6ef5cec5bd1e6d753e08379c43d (patch) | |
tree | 429a71da833c6568d9970deddfde37fc246ef366 /apps/files/css | |
parent | c6060f53cd370dec1960a6bbf14a5788b75467d4 (diff) | |
download | nextcloud-server-e85620ab69a0a6ef5cec5bd1e6d753e08379c43d.tar.gz nextcloud-server-e85620ab69a0a6ef5cec5bd1e6d753e08379c43d.zip |
larger preview for images in the sidebar
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/detailsView.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css index ffead923124..8eded7acda1 100644 --- a/apps/files/css/detailsView.css +++ b/apps/files/css/detailsView.css @@ -19,6 +19,27 @@ float: left; } +#app-sidebar .thumbnailContainer.image { + margin-left: -15px; + margin-right: -35px; /* 15 + 20 for the close button */ + margin-top: -15px; +} + +#app-sidebar .image .thumbnail { + width:100%; + display:block; + height: 250px; + background-repeat: no-repeat; + background-position: 50% top; + background-size: 100%; + float: none; + margin: 0; +} + +#app-sidebar .image.portrait .thumbnail { + background-size: contain; +} + #app-sidebar .thumbnail { width: 75px; height: 75px; |