settings: Make change language button similar to other settings buttons.

We've removed the pencil icon and removed the `.small` class from the
button.
This setting button is being used in two places: Changing your personal
language and changing the org-wide language for emails. That is why
we have used the `Change the language` generic tooltip instead of
`Change your language` tooltip.
This commit is contained in:
Shubham Padia 2024-07-02 18:14:01 +00:00 committed by Tim Abbott
parent 08ee4be121
commit 6085212574
2 changed files with 2 additions and 2 deletions

View File

@ -563,6 +563,7 @@ input[type="checkbox"] {
.language_selection_widget .language_selection_button {
text-decoration: none;
color: hsl(0deg 0% 20%);
min-width: 0;
.fa.fa-pencil {
margin-left: 5px;

View File

@ -5,8 +5,7 @@
{{> ../help_link_widget link=help_link_widget_link }}
{{/if}}
</label>
<button type="button" class="language_selection_button button rounded small" data-section="{{section_name}}">
<button type="button" class="language_selection_button button rounded tippy-zulip-delayed-tooltip" data-section="{{section_name}}" data-tippy-content="{{t 'Change language' }}">
<span class="{{section_name}}" data-language-code="{{language_code}}">{{setting_value}}</span>
<i class="fa fa-pencil"></i>
</button>
</div>