Não deve quebrar texto para o botão de seleção de nível de notificação no celular ao usar idioma CJK

People using vertical layout for CJK language sometimes, but not in that situation, it looks weird. And the space looks good to not wrapping the word which only a few characters.

2 curtidas

Does the issue only happen on mobile devices?

Are there other elements on Discourse where you are seeing this issue?

2 curtidas

Yes, it happen on mobile devices only. And just one place i saw this issue for now. And it seems just happen when tracking or watching.

1 curtida

The issue can be fixed by adding the following CSS to the Mobile CSS tab of a theme or theme component:

.topic-notifications-options .name {
    white-space: nowrap
}

I am not sure if something to deal with this should be added to the core Discourse CSS. It is possible that it would affect non CJK locales in an undesirable way. Possibly the @Designers team has ideas about other ways to approach this.

3 curtidas