]> www.infradead.org Git - users/mchehab/andors-trail.git/commitdiff
Minor fix for centering worldmap on screen.
authorOskar Wiksten <oskar.wiksten@gmail.com>
Sun, 14 Oct 2012 11:45:27 +0000 (13:45 +0200)
committerOskar Wiksten <oskar.wiksten@gmail.com>
Sun, 14 Oct 2012 11:45:27 +0000 (13:45 +0200)
AndorsTrail/res/values/worldmap_template.xml

index fbf0c339457ba0f23b86fd7bb31fdf82a614a874..7e3cd3213d653687da71c1eb4ec6c228e0f82298 100644 (file)
@@ -6,8 +6,8 @@
        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />
        <title></title>
        <style type=\"text/css\">
-html, body { height:100%%; padding:0; margin:0; }
-div#table { height:100%%; width:100%%; display:table; }
+html, body { height:100\%%; padding:0; margin:0; }
+div#table { height:100\%%; width:100\%%; display:table; }
 div#cell { display:table-cell; vertical-align:middle; text-align:center;}
 div#maps { width:{{sizex}}px; height:{{sizey}}px; position:relative; display:inline-block; }
 div#playerPosition { position:absolute; z-index:3; font-size:19pt; color:red; text-shadow:rgba(0, 0, 0, 1) 2px 2px 2px; }