Formatting fixes

Change-Id: I75173f09527f84419d1b807e9e33ff673e0f5d1c
This commit is contained in:
Santhosh Thottingal
2013-10-17 14:50:09 +05:30
parent 9dddc411e9
commit e83494cab1
2 changed files with 4 additions and 5 deletions

View File

@@ -262,11 +262,12 @@ div.uls-region {
@font-face {
font-family: 'Autonym';
src: url('font/Autonym.eot');
src: local('Autonym'), url('font/Autonym.woff') format('woff'), url('font/Autonym.ttf') format('truetype');
src: local('Autonym'),
url('font/Autonym.woff') format('woff'),
url('font/Autonym.ttf') format('truetype');
font-style: normal;
}
.autonym {
font-family: 'Autonym', sans-serif;
font-size: 1em;
}

View File

@@ -98,7 +98,6 @@
$li = $( '<li>' )
.data( 'code', langCode )
.addClass( 'autonym' )
.attr( {
lang: langCode,
dir: $.uls.data.getDir( langCode )
@@ -142,7 +141,7 @@
// Each column can have maximum 8 languages.
if ( $ul.length === 0 || $ul.find( 'li' ).length >= 8 || forceNew ) {
$ul = $( '<ul>' ).addClass( 'three columns end' );
$ul = $( '<ul>' ).addClass( 'three columns end autonym' );
if ( $rowDiv.length === 0 || $rowDiv.find( 'ul' ).length >= 4 ) {
$rowDiv = $( '<div>' ).addClass( 'row uls-language-block' );
@@ -231,7 +230,6 @@
langName = $.uls.data.getAutonym( langCode ) || language || langCode;
$li = $( '<li>' )
.data( 'code', langCode )
.addClass( 'autonym' )
.attr( {
lang: langCode,
dir: $.uls.data.getDir( langCode )