diff --git a/static/css/dashboard.css b/static/css/dashboard.css index ea69399..5905bf5 100644 --- a/static/css/dashboard.css +++ b/static/css/dashboard.css @@ -33,6 +33,23 @@ color: var(--primary-color); } +/* Card Header Button Styles */ +.card-body .d-flex.justify-content-between > div:last-child { + display: flex; + flex-direction: column; + gap: 0.5rem; + align-items: flex-end; + width: 100%; +} + +@media (min-width: 576px) { + .card-body .d-flex.justify-content-between > div:last-child { + flex-direction: row; + align-items: center; + width: auto; + } +} + /* Button Styles */ .btn-primary { background-color: var(--primary-color); diff --git a/templates/dashboard/dashboard.html b/templates/dashboard/dashboard.html index 515d1a6..cd3a0b6 100644 --- a/templates/dashboard/dashboard.html +++ b/templates/dashboard/dashboard.html @@ -48,7 +48,7 @@ {% if current_user.is_admin %} {{ contacts(recent_contacts) }} - {{ contact_status(active_count, inactive_count) }} + {% endif %} {{ starred_files(starred_count, file_count) }}