changeset 135:8425fcd3fc25

Adjust language selector.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 04 Sep 2017 14:37:33 +0300
parents e2e70c38e7c6
children b1134ff9256b
files basic.css mgallery.php
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/basic.css	Mon Sep 04 13:52:44 2017 +0300
+++ b/basic.css	Mon Sep 04 14:37:33 2017 +0300
@@ -296,11 +296,11 @@
 
 #languages {
 	position: absolute;
-	right: 0em;
-	top: 0em;
+	right: 0.5em;
+	top: 0.5em;
 	background: black;
 	border-radius: 0.35em;
-	padding: 1em;
+	padding: 0.5em;
 	z-index: 50;
 }
 
--- a/mgallery.php	Mon Sep 04 13:52:44 2017 +0300
+++ b/mgallery.php	Mon Sep 04 14:37:33 2017 +0300
@@ -390,7 +390,7 @@
 
 function mgGetPageInfoHeaderEnd()
 {
-  return "</div>";
+  return mgGetLanguageSelector()."</div>";
 }
 
 
@@ -798,6 +798,5 @@
   mgPrintTable("imageTable", $galEntries, $galImagesIndex, 0, FALSE);
 }
 
-echo mgGetLanguageSelector();
 mgPrintPageFooter();
 ?>
\ No newline at end of file