Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 61076c3

Browse files
authored
Fixes button labels being collapsed per a character in CJK languages (#8212)
* Fixes button labels being collapsed per a character in CJK languages Closes element-hq/element-web#21287 Signed-off-by: Suguru Hirahara <[email protected]> * Add a comment Signed-off-by: Suguru Hirahara <[email protected]>
1 parent cdb0c2c commit 61076c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

res/css/views/elements/_AccessibleButton.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ limitations under the License.
3939
justify-content: center;
4040
font-size: $font-14px;
4141
border: none; // override default <button /> styles
42+
word-break: keep-all; // prevent button text in Chinese/Japanese/Korean (CJK) from being collapsed
4243

4344
&.mx_AccessibleButton_kind_primary_sm,
4445
&.mx_AccessibleButton_kind_danger_sm,

0 commit comments

Comments
 (0)