Match deck name truncation behavior to prevent long deck names from obscuring stats (#1686)

* Truncate long deck names to match AnkiWeb behavior

Prevent long deck name from obscuring deck stats in main deck browser - match behavior at https://ankiweb.net/decks/ for handling long deck names (truncate name)

* Fix formatting

* Update CONTRIBUTORS

Add myself to contributors list
This commit is contained in:
sachingooo 2022-02-23 18:15:26 -06:00 committed by GitHub
parent 1a3eef505f
commit 5eefb9bea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -95,6 +95,7 @@ Danish Prakash <github.com/danishprakash>
Araceli Yanez <github.com/aracelix>
Sam Bradshaw <samjr.bradshaw@gmail.com>
gnnoh <gerongfenh@gmail.com>
Sachin Govind <sachin.govind.too@gmail.com>
********************

View file

@ -41,6 +41,8 @@ body {
.decktd {
min-width: 15em;
max-width: calc(100vw - 300px);
overflow: hidden;
}
.count {