Skip to content

Commit

Permalink
fix (bug): Display issues in language switcher
Browse files Browse the repository at this point in the history
- Gave more width to the switcher on mobile.
- Fixed "Help Translate" overlaping
- Show language name if it fits or show ellipseses... to differentiate between English and English (United Kingdom), etc.

Closes: Displaying bugs of the unfolding language switcher WeblateOrg#2158
  • Loading branch information
meel-hd committed Sep 23, 2024
1 parent 80132e0 commit b12951b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions weblate_web/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3451,6 +3451,9 @@ footer .footicons a.icon:hover {
display: block;
padding: 0 15px;
border-radius: 15px;
overflow: hidden;
text-wrap: nowrap;
text-overflow: ellipsis;
}

.langs ul li.active a {
Expand Down Expand Up @@ -4098,7 +4101,7 @@ input.fullwidth {
}

.langs-list {
min-width: calc(100vw - 90px);
min-width: calc(100vw - 20px);
}

section.donations-info.aboutus .di-section .half-content {
Expand Down Expand Up @@ -4143,10 +4146,13 @@ input.fullwidth {
font-size: 12px !important;
height: 25px;
line-height: 25px;
overflow: hidden;
padding: 0 11px;
}

.langs-list .bottom {
margin-top: 0;
}

.langs-list .bottom a {
font-size: 12px;
}
Expand Down

0 comments on commit b12951b

Please sign in to comment.