fix(mobile): admin dropdown pod barem zamiast na dole ekranu
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Dropdown rozwija się pod admin barem na pełną szerokość. Kliknięcie innego dropdown zamyka poprzedni (tylko jeden otwarty naraz). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7fc0403da6
commit
4799ff89fe
@ -550,18 +550,18 @@
|
||||
padding: 8px 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.admin-dropdown {
|
||||
position: static;
|
||||
}
|
||||
.admin-dropdown-menu {
|
||||
position: fixed;
|
||||
top: auto;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
border-radius: var(--radius) var(--radius) 0 0;
|
||||
box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
|
||||
z-index: 1000;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1635,7 +1635,7 @@
|
||||
|
||||
<!-- Audyty (alphabetical: Audyt GBP, Audyt IT, Audyt KRS, Audyt SEO, Audyt Social, Kontrola dostępu, SEO Portalu) -->
|
||||
<div class="admin-dropdown">
|
||||
<button class="admin-dropdown-trigger" onclick="this.parentElement.classList.toggle('open');event.stopPropagation()">
|
||||
<button class="admin-dropdown-trigger" onclick="var p=this.parentElement,w=p.classList.contains('open');document.querySelectorAll('.admin-dropdown.open').forEach(function(d){d.classList.remove('open')});if(!w)p.classList.add('open');event.stopPropagation()">
|
||||
Audyty
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
@ -1694,7 +1694,7 @@
|
||||
|
||||
<!-- Izba (alphabetical: Deklaracje, Firmy, Jakość danych, Korzyści, Składki) -->
|
||||
<div class="admin-dropdown">
|
||||
<button class="admin-dropdown-trigger" onclick="this.parentElement.classList.toggle('open');event.stopPropagation()">
|
||||
<button class="admin-dropdown-trigger" onclick="var p=this.parentElement,w=p.classList.contains('open');document.querySelectorAll('.admin-dropdown.open').forEach(function(d){d.classList.remove('open')});if(!w)p.classList.add('open');event.stopPropagation()">
|
||||
Izba
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
@ -1738,7 +1738,7 @@
|
||||
|
||||
<!-- Social media (alphabetical: Audyt social media, Insights AI, Publikacja social media) -->
|
||||
<div class="admin-dropdown">
|
||||
<button class="admin-dropdown-trigger" onclick="this.parentElement.classList.toggle('open');event.stopPropagation()">
|
||||
<button class="admin-dropdown-trigger" onclick="var p=this.parentElement,w=p.classList.contains('open');document.querySelectorAll('.admin-dropdown.open').forEach(function(d){d.classList.remove('open')});if(!w)p.classList.add('open');event.stopPropagation()">
|
||||
Social media
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
@ -1768,7 +1768,7 @@
|
||||
|
||||
<!-- System (alphabetical: Analityka, Bezpieczeństwo, Health Check, Monitoring AI, Status systemu, Użytkownicy) -->
|
||||
<div class="admin-dropdown">
|
||||
<button class="admin-dropdown-trigger" onclick="this.parentElement.classList.toggle('open');event.stopPropagation()">
|
||||
<button class="admin-dropdown-trigger" onclick="var p=this.parentElement,w=p.classList.contains('open');document.querySelectorAll('.admin-dropdown.open').forEach(function(d){d.classList.remove('open')});if(!w)p.classList.add('open');event.stopPropagation()">
|
||||
System
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
@ -1832,7 +1832,7 @@
|
||||
|
||||
<!-- Treści (alphabetical: Kalendarz, Moderacja forum, Moderacja ogłoszeń, Moderacja rekomendacji, ZOP Kaszubia) -->
|
||||
<div class="admin-dropdown">
|
||||
<button class="admin-dropdown-trigger" onclick="this.parentElement.classList.toggle('open');event.stopPropagation()">
|
||||
<button class="admin-dropdown-trigger" onclick="var p=this.parentElement,w=p.classList.contains('open');document.querySelectorAll('.admin-dropdown.open').forEach(function(d){d.classList.remove('open')});if(!w)p.classList.add('open');event.stopPropagation()">
|
||||
Treści
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
@ -1875,7 +1875,7 @@
|
||||
<!-- Narzędzia (owner-only: Kontakty zewnętrzne, Raporty, Mapa Powiązań) -->
|
||||
{% if is_audit_owner %}
|
||||
<div class="admin-dropdown">
|
||||
<button class="admin-dropdown-trigger" onclick="this.parentElement.classList.toggle('open');event.stopPropagation()">
|
||||
<button class="admin-dropdown-trigger" onclick="var p=this.parentElement,w=p.classList.contains('open');document.querySelectorAll('.admin-dropdown.open').forEach(function(d){d.classList.remove('open')});if(!w)p.classList.add('open');event.stopPropagation()">
|
||||
Narzędzia
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user