diff --git a/static/css/style.css b/static/css/style.css index 5b0b90e..bde065a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -999,3 +999,18 @@ td select.tom-dark { font-size: 0 !important; line-height: 1 !important; } + +.list-title { + white-space: nowrap !important; + overflow: hidden !important; + text-overflow: ellipsis !important; + max-width: 70% !important; + display: inline-block !important; +} + +/* Bardzo małe ekrany */ +@media (max-width: 420px) { + .list-title { + max-width: 60% !important; + } +} diff --git a/templates/main.html b/templates/main.html index 995159d..708f83a 100644 --- a/templates/main.html +++ b/templates/main.html @@ -189,9 +189,9 @@ - - {{ l.title }} (Autor: {{ l.owner.username if l.owner else '—' }}) + + {{ l.title }} {% for cat in l.category_badges %}