From 742ff2f46ea57cff0ef702a6acbc8a46a1543506 Mon Sep 17 00:00:00 2001 From: rra Date: Sun, 10 Mar 2024 15:03:04 +0100 Subject: [PATCH] make tabs work responsive --- app/static/structure.css | 11 +++++++++++ app/templates/user/edit_profile2.html | 10 +++++----- app/templates/user/edit_settings2.html | 12 ++++++------ app/templates/user/filters2.html | 10 +++++----- 4 files changed, 27 insertions(+), 16 deletions(-) diff --git a/app/static/structure.css b/app/static/structure.css index 4f3465ee..ca808a19 100644 --- a/app/static/structure.css +++ b/app/static/structure.css @@ -1288,4 +1288,15 @@ fieldset legend { max-width: 100%; } +@media (orientation: portrait) { + .flex-sm-fill.text-sm-center.nav-link.active{ + border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-border-color); + border-bottom-right-radius: var(--bs-nav-tabs-border-radius); + border-bottom-left-radius: var(--bs-nav-tabs-border-radius); + } + .card-header-tabs { + margin-bottom:8px; + } +} + /*# sourceMappingURL=structure.css.map */ diff --git a/app/templates/user/edit_profile2.html b/app/templates/user/edit_profile2.html index e55e541e..ba9cd006 100644 --- a/app/templates/user/edit_profile2.html +++ b/app/templates/user/edit_profile2.html @@ -16,18 +16,18 @@ -