diff --git a/static/css/style.css b/static/css/style.css index 497338f..59bb9a3 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -855,3 +855,27 @@ td select.tom-dark { .sens-low { background: rgba(108,117,125,.25); color: #ced4da; } /* szary */ .sens-mid { background: rgba(13,110,253,.25); color: #9ec5fe; } /* niebieski */ .sens-high { background: rgba(220,53,69,.25); color: #f1aeb5; } /* czerwony */ + +/* Responsive buttons - hide text on narrow screens (iPhone 11, iPhone 17 Pro) */ +@media (max-width: 420px) { + .btn-group-compact .btn-text { + display: none !important; + } + + .btn-group-compact .btn { + padding: 0.375rem 0.5rem; + min-width: auto; + } +} + +/* Medium-narrow screens - smaller font */ +@media (min-width: 421px) and (max-width: 576px) { + .btn-group-compact .btn { + padding: 0.375rem 0.45rem; + font-size: 0.8rem; + } + + .btn-group-compact .btn-text { + font-size: 0.75rem; + } +} diff --git a/templates/main.html b/templates/main.html index c7a006c..e82fe87 100644 --- a/templates/main.html +++ b/templates/main.html @@ -2,17 +2,20 @@ {% block title %}Twoje listy zakupów{% endblock %} {% block content %} + {% if not current_user.is_authenticated %}
Brak list do wyświetlenia
{% endif %} +