Fixes button labels being collapsed per a character in CJK languages (#8212)
* Fixes button labels being collapsed per a character in CJK languages Closes https://github.com/vector-im/element-web/issues/21287 Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add a comment Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
cdb0c2c6a1
commit
61076c3331
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ limitations under the License.
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: $font-14px;
|
font-size: $font-14px;
|
||||||
border: none; // override default <button /> styles
|
border: none; // override default <button /> styles
|
||||||
|
word-break: keep-all; // prevent button text in Chinese/Japanese/Korean (CJK) from being collapsed
|
||||||
|
|
||||||
&.mx_AccessibleButton_kind_primary_sm,
|
&.mx_AccessibleButton_kind_primary_sm,
|
||||||
&.mx_AccessibleButton_kind_danger_sm,
|
&.mx_AccessibleButton_kind_danger_sm,
|
||||||
|
|
Loading…
Reference in a new issue