]> granicus.if.org Git - ejabberd/commitdiff
Fix for #935
authorMarek Foss <mf@marekfoss.org>
Thu, 25 Feb 2016 17:56:43 +0000 (18:56 +0100)
committerMarek Foss <mf@marekfoss.org>
Thu, 25 Feb 2016 17:56:43 +0000 (18:56 +0100)
src/ejabberd_web_admin.erl

index 1b60f8267756b050af84d3da5548789fcaba9506..d69b2a6c15bdd861e3e7bed94e8ff803305a09a6 100644 (file)
@@ -383,6 +383,9 @@ css(Host) ->
     "  background: #f9f9f9;\n"
     "  font-family: sans-serif;\n"
     "}\n"
+    "body {\n"
+    "  min-width: 990px;\n"
+    "}\n"
     "a {\n"
     "  text-decoration: none;\n"
     "  color: #3eaffa;\n"
@@ -461,13 +464,15 @@ css(Host) ->
     "  font-size: 0.75em;\n"
     "  text-align: center;\n"
     "}\n"
+    "#navigation {\n"
+    "  display: inline-block;\n"
+    "  vertical-align: top;\n"
+    "  width: 30%;\n"
+    "}\n"
     "#navigation ul {\n"
-    "  position: absolute;\n"
-    "  top: 75px;\n"
-    "  left: 0;\n"
     "  padding: 0;\n"
     "  margin: 0;\n"
-    "  width: 17em;\n"
+    "  width: 90%;\n"
     "  background: #fff;\n"
     "}\n"
     "#navigation ul li {\n"
@@ -595,8 +600,10 @@ css(Host) ->
     "  list-style-type: none;\n"
     "}\n"
     "#content {\n"
-    "  padding-left: 19em;\n"
+    "  display: inline-block;\n"
+    "  vertical-align: top;\n"
     "  padding-top: 25px;\n"
+    "  width: 70%;\n"
     "}\n"
     "div.guidelink,\n"
     "p[dir=ltr] {\n"