Purecss compat - force letter-spacing

In pages based on purecss, the default letter-spacing is negative. This lead to
unreadable keepassxc entries in the autocomplete list and notifications.

This patch forces the letter-spacing and word-spacing to 'normal', and
text-rendering to 'auto', which is what purecss does in elements
displaying text.
This commit is contained in:
Christophe de Vienne 2020-04-27 10:16:12 +02:00
parent bed5115405
commit 4489ad2583
2 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,9 @@
width: auto;
color: var(--kpxc-text-color);
font-size: .9em !important;
letter-spacing: normal !important;
word-spacing: normal !important;
text-rendering: auto !important;
}
.kpxcAutocomplete-items div:last-child {

View file

@ -5,6 +5,9 @@
cursor: pointer;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
letter-spacing: normal !important;
word-spacing: normal !important;
text-rendering: auto !important;
margin: 0px auto;
margin-bottom: 20px;
padding: 15px;