Bidi-isolate input method name in the input method selector
Without this isolation the input method name can be shown incorrectly when its direction is different from the direction of the "How to use" element. This only breaks on Firefox; Chrome somehow shows it correctly without isolation, but isolation makes sense in any case. Change-Id: I3c906f4fdd259b94f909b36bab91474cae2971af
This commit is contained in:
@@ -98,6 +98,11 @@
|
|||||||
margin: 12px 0;
|
margin: 12px 0;
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
|
|
||||||
|
.uls-input-settings-name {
|
||||||
|
unicode-bidi: -moz-isolate;
|
||||||
|
unicode-bidi: isolate;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.uls-input-settings-inputmethods-list .mw-ui-radio {
|
.uls-input-settings-inputmethods-list .mw-ui-radio {
|
||||||
|
|||||||
@@ -203,8 +203,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$imeLabel.append(
|
$imeLabel.append(
|
||||||
$( '<strong>' ).text( name ),
|
$( '<strong>' )
|
||||||
$( '<span>' ).text( description ),
|
.addClass( 'uls-input-settings-name' )
|
||||||
|
.text( name ),
|
||||||
|
$( '<span>' )
|
||||||
|
.addClass( 'uls-input-settings-description' )
|
||||||
|
.text( description ),
|
||||||
$helplink
|
$helplink
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user