Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc-browser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe de Vienne <christophe@cdevienne.info>2020-04-27 11:16:12 +0300
committerChristophe de Vienne <christophe@cdevienne.info>2020-04-27 11:34:11 +0300
commit4489ad258347228af28d421a24905dc3f3a3a356 (patch)
treee8ae16d165cee0b71b576163ba3dec9f81cf1c01 /keepassxc-browser
parentbed5115405aee7b6c6528be5e2ab9cb6d19adcd3 (diff)
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.
Diffstat (limited to 'keepassxc-browser')
-rw-r--r--keepassxc-browser/css/autocomplete.css3
-rw-r--r--keepassxc-browser/css/notification.css3
2 files changed, 6 insertions, 0 deletions
diff --git a/keepassxc-browser/css/autocomplete.css b/keepassxc-browser/css/autocomplete.css
index a532e1e..53b9191 100644
--- a/keepassxc-browser/css/autocomplete.css
+++ b/keepassxc-browser/css/autocomplete.css
@@ -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 {
diff --git a/keepassxc-browser/css/notification.css b/keepassxc-browser/css/notification.css
index 0fda0f7..1bb815f 100644
--- a/keepassxc-browser/css/notification.css
+++ b/keepassxc-browser/css/notification.css
@@ -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;