🐛 Delete empty or fuzzy translations

This commit is contained in:
Eva Marco 2025-01-14 10:05:12 +01:00
parent 10f2d5d09d
commit 5ce4b0a927
28 changed files with 73 additions and 119 deletions

View file

@ -198,7 +198,6 @@
(tr "shortcuts.toggle-lock")
(tr "shortcuts.toggle-lock-size")
(tr "shortcuts.toggle-rulers")
(tr "shortcuts.toggle-rules")
(tr "shortcuts.toggle-snap-guides")
(tr "shortcuts.toggle-snap-ruler-guide")
(tr "shortcuts.toggle-textpalette")

View file

@ -53,6 +53,31 @@
--token-pill-accent: var(--color-background-tertiary);
}
}
.name-wrapper {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.group-name-wrapper::before, span::after {
vertical-align: middle;
display: inline-block;
max-width: 50%;
overflow: hidden;
white-space: pre;
}
.group-name-wrapper::before {
content: attr(data-content-start);
text-overflow: ellipsis;
}
.group-name-wrapper::after {
content: attr(data-content-end);
text-overflow: '';
direction: rtl;
}
.token-pill-applied {
--token-pill-background: var(--color-token-background);
@ -84,8 +109,7 @@
}
}
.token-pill-invalid,
.token-pill-invalid-applied {
.token-pill-invalid {
--token-pill-background: var(--color-background-tertiary);
--token-pill-foreground: var(--color-foreground-error);
--token-pill-border: var(--color-background-tertiary);
@ -101,6 +125,15 @@
}
}
.token-pill-invalid-applied {
--token-pill-border: var(--color-foreground-error);
&:hover,
&:focus-visible,
&:disabled {
--token-pill-border: var(--color-foreground-error);
}
}
.token-pill-icon {
color: var(--token-pill-accent);
}