Image viewer mobile optimizations
authorMarcel Werk <burntime@woltlab.com>
Wed, 1 Oct 2014 16:52:02 +0000 (18:52 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 1 Oct 2014 16:52:02 +0000 (18:52 +0200)
wcfsetup/install/files/style/imageViewer.less

index 7eb837e21efd7797910a684dd829e12582e3b0df..1ee20b005e4d8a3e27f265b375abdfb28f2ad5ed 100644 (file)
                }
        }
 }
+
+@media only screen and (max-width: 800px) {
+       .wcfImageViewer {
+               > header {
+                       height: 80px;
+                       
+                       > .wcfImageViewerButtonClose {
+                               right: 16px;
+                               top: 16px;
+                       }
+               }
+               
+               > footer {
+                       height: 80px;
+                       
+                       > div {
+                               height: 60px;
+                               
+                               > ul {
+                                       height: 60px;
+                                       
+                                       > li {
+                                               height: 60px;
+                                       }
+                               }
+                       }
+               }
+       }
+}