accommodate longer language names in menu
This commit is contained in:
parent
220d54f199
commit
3f1702e73e
|
@ -496,7 +496,7 @@ class QvitterAction extends ApiAction
|
||||||
|
|
||||||
// languages
|
// languages
|
||||||
foreach($languagecodesandnames as $lancode=>$lan) {
|
foreach($languagecodesandnames as $lancode=>$lan) {
|
||||||
print '<li class="language"><a class="language-link" title="'.$lan['english_name'].'" data-lang-code="'.$lancode.'">'.$lan['name'].'</a></li>';
|
print '<li class="language"><a class="language-link" title="'.$lan['name'].' – '.$lan['english_name'].'" data-lang-code="'.$lancode.'">'.$lan['name'].'</a></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -530,7 +530,7 @@ class QvitterAction extends ApiAction
|
||||||
|
|
||||||
// languages
|
// languages
|
||||||
foreach($languagecodesandnames as $lancode=>$lan) {
|
foreach($languagecodesandnames as $lancode=>$lan) {
|
||||||
print '<li><a class="language-link" title="'.$lan['english_name'].'" data-lang-code="'.$lancode.'">'.$lan['name'].'</a></li>';
|
print '<li><a class="language-link" title="'.$lan['name'].' – '.$lan['english_name'].'" data-lang-code="'.$lancode.'">'.$lan['name'].'</a></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -505,11 +505,13 @@ body.rtl .dropdown-menu li:not(.dropdown-caret) {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
padding: 3px 15px 3px 22px;
|
overflow: hidden;
|
||||||
|
padding: 3px 0 3px 22px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
text-overflow: ellipsis;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
body.rtl .dropdown-menu li:not(.dropdown-caret) a {
|
body.rtl .dropdown-menu li:not(.dropdown-caret) a {
|
||||||
padding: 3px 22px 3px 15px;
|
padding: 3px 22px 3px 15px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user