accommodate longer language names in menu
This commit is contained in:
parent
220d54f199
commit
3f1702e73e
|
@ -496,7 +496,7 @@ class QvitterAction extends ApiAction
|
|||
|
||||
// languages
|
||||
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
|
||||
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-weight: normal;
|
||||
line-height: 18px;
|
||||
padding: 3px 15px 3px 22px;
|
||||
overflow: hidden;
|
||||
padding: 3px 0 3px 22px;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
text-shadow: none;
|
||||
white-space: nowrap;
|
||||
text-decoration: none;
|
||||
}
|
||||
body.rtl .dropdown-menu li:not(.dropdown-caret) a {
|
||||
padding: 3px 22px 3px 15px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user