diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-09-11 15:26:47 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-09-15 14:32:07 +0200 |
commit | 98966329bfc67030db8e3088ddd4362390a1b651 (patch) | |
tree | d838e1bf449437f4cb44cc98140f50c9e4305d39 /apps/files/css/detailsView.css | |
parent | a7346066495b5831293ef85df2319f921ec9185b (diff) | |
download | nextcloud-server-98966329bfc67030db8e3088ddd4362390a1b651.tar.gz nextcloud-server-98966329bfc67030db8e3088ddd4362390a1b651.zip |
crop to the center for landscape images
Diffstat (limited to 'apps/files/css/detailsView.css')
-rw-r--r-- | apps/files/css/detailsView.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css index ad9c50b8354..2de4093805b 100644 --- a/apps/files/css/detailsView.css +++ b/apps/files/css/detailsView.css @@ -34,13 +34,17 @@ display:block; height: 250px; background-repeat: no-repeat; - background-position: 50% top; + background-position: center; background-size: 100%; float: none; margin: 0; } #app-sidebar .image.portrait .thumbnail { + background-position: 50% top; +} + +#app-sidebar .image.portrait .thumbnail { background-size: contain; } |