summaryrefslogtreecommitdiffstats
path: root/apps/files/css/detailsView.css
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/css/detailsView.css')
-rw-r--r--apps/files/css/detailsView.css21
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;