joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Text in the spellcheck button is wrapping

Open HahaBill opened this issue 11 months ago • 1 comments

Operating system

macOS

Joplin version

2.13.15

Desktop version info

Joplin 2.13.15 (prod, darwin)

Client ID: c08e549cb29947a58cf80d908c0a74a3 Sync Version: 3 Profile Version: 44 Keychain Supported: No

Revision: 7d2c1c0

Current behaviour

The current behavior is that when I add multiple spellcheck languages, the button's text wraps as shown in two pictures below.

Screenshot 2024-02-25 at 11 08 39 Screenshot 2024-02-25 at 11 09 42

Expected behaviour

The text should not wrap. Here are suggested solutions:

Solution 1:

someElement {
  .
  .
  .
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
  
}

Solution 2:

someElement {
  .
  .
  .
  white-space: nowrap; 
  overflow-x: scroll;
  &::-webkit-scrollbar {
       display: none;
  }
  
}

Logs

No response

HahaBill avatar Feb 25 '24 11:02 HahaBill

Hello I'm new to this and would love to work on this issue, I managed to setup the development environment successfully but had trouble pinpointing where the Spell check languages component is to edit the styling.

Edit: I think I found it and managed to fix. Will add a PR.

RadCod3 avatar Feb 26 '24 15:02 RadCod3