[Scummvm-cvs-logs] scummvm-web master -> f17a42cd650463ea1f129c7180f96727d9c1e010

salty-horse ori at avtalion.name
Wed Apr 13 22:07:52 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
f17a42cd65 WEB: Fix display of Language tab on Firefox


Commit: f17a42cd650463ea1f129c7180f96727d9c1e010
    https://github.com/scummvm/scummvm-web/commit/f17a42cd650463ea1f129c7180f96727d9c1e010
Author: Ori Avtalion (ori at avtalion.name)
Date: 2016-04-13T23:06:49+03:00

Commit Message:
WEB: Fix display of Language tab on Firefox

"Language" overflowed and wasn't visible.

Changed paths:
    css/lang-menu.css
    templates/index.tpl



diff --git a/css/lang-menu.css b/css/lang-menu.css
index 4ce5122..d479119 100644
--- a/css/lang-menu.css
+++ b/css/lang-menu.css
@@ -1,10 +1,9 @@
 #lang-wrapper {
-	width: 0px;
 	margin: 0 auto;
 	float: right;
 	position: relative;
-	right: 620px;
 	top: 79px;
+	margin-right: 10px;
 }
 
 code.text-badge {
@@ -33,7 +32,8 @@ code.text-badge {
 #langmenu > li {
 	float: left;
 	height: 29px;
-	width: 115px;
+	padding-right: 2px;
+	margin-right: 10px;
 	margin-top: 0pt;
 	margin-bottom: 0pt;
 	position: relative;
@@ -62,7 +62,6 @@ code.text-badge {
 	position: absolute;
 	top: 27px;
 	left: 0px;
-	width: 105px;
 	border-radius: 0 0 4px 4px;
 	-moz-border-radius: 0 0 4px 4px;
 	-webkit-border-radius: 0 0 4px 4px;
@@ -86,7 +85,6 @@ code.text-badge {
 
 #langmenu li ul li {
 	float: left;
-	width: 115px;
 	list-style: none;
 	margin: 0 5px 7px 0;
 	padding: 0 0 3px 0;
diff --git a/templates/index.tpl b/templates/index.tpl
index a7f13a5..23a765d 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -33,11 +33,11 @@
 			<img src="/images/scummvm_logo.jpg" width="287" height="118" alt="{#indexLogo#}" class="float_left">
 		</a>
 
-		{include file='lang_menu.tpl'}
 		<span>
 			<img src="/images/heroes{$heroes_num|rand:0}.png" alt="{#indexCharacters#}" width="483" height="89">
 			<img src="/images/scummvm-caption.png" alt="Script creation utility for Maniac Mansion Virtual Machine" width="483" height="29">
 		</span>
+		{include file='lang_menu.tpl'}
 	</div>
 
 	<div id="container">






More information about the Scummvm-git-logs mailing list