Skip to content

Commit

Permalink
Dev: language selector min width
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 4, 2016
1 parent 7b74618 commit a32290e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -33,7 +33,7 @@
<table>
<tr>
<td style='text-align:left'>
<select class="form-control " style='' size='5' id='additional_languages' name='additional_languages'>
<select style="min-width:200px;" class="form-control " style='' size='5' id='additional_languages' name='additional_languages'>
<?php $jsX=0;
$jsRemLang ="<script type=\"text/javascript\">
var mylangs = new Array();
Expand Down Expand Up @@ -70,7 +70,7 @@


<td style='text-align:left'>
<select class="form-control input-xlarge" size='5' id='available_languages' name='available_languages'>
<select style="min-width:200px;" class="form-control input-xlarge" size='5' id='available_languages' name='available_languages'>
<?php $tempLang=Survey::model()->findByPk($surveyid)->additionalLanguages;
foreach (getLanguageDataRestricted (false, Yii::app()->session['adminlang']) as $langkey2 => $langname) {
if ($langkey2 != $esrow['language'] && in_array($langkey2, $tempLang) == false) { // base languag must not be shown here ?>
Expand Down

2 comments on commit a32290e

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline px css ????
1: it's text, then better in em
2: why not a language class ? or langselect ? class

@limesurvey-translations
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree - no hardcoded styling please.

Please sign in to comment.