diff --git a/loko/assets/templates/assets/base_assets_index.html b/loko/assets/templates/assets/base_assets_index.html index 2d2a973..11393bf 100644 --- a/loko/assets/templates/assets/base_assets_index.html +++ b/loko/assets/templates/assets/base_assets_index.html @@ -93,12 +93,12 @@
+ style="position:absolute; top:4px; left:50%; transform:translateX(-50%); z-index:10; pointer-events:none; max-width:calc(100% - 360px);">
-
+
diff --git a/loko/controls/static/controls/controls_index.css b/loko/controls/static/controls/controls_index.css index ae412af..5ed25ff 100644 --- a/loko/controls/static/controls/controls_index.css +++ b/loko/controls/static/controls/controls_index.css @@ -10,6 +10,24 @@ border-color: #dee2e6; } +#controls-search-widget { + max-width: calc(100% - 310px); +} + +@media (max-width: 767.98px) { + #controls-search-widget { + position: static !important; + transform: none !important; + max-width: 100% !important; + margin-top: 0.5rem; + margin-bottom: 0.5rem; + pointer-events: auto !important; + } + #controls-search-widget .input-group > div:first-child { + width: 100% !important; + } +} + /* Styles pour la modale de filtre */ #filterModal .modal-dialog { max-width: 95%; diff --git a/loko/controls/templates/controls/controls_index.html b/loko/controls/templates/controls/controls_index.html index 94418d2..72a7216 100644 --- a/loko/controls/templates/controls/controls_index.html +++ b/loko/controls/templates/controls/controls_index.html @@ -113,7 +113,7 @@
@@ -179,11 +179,11 @@
+ style="position:absolute; top:4px; left:50%; transform:translateX(-50%); z-index:10; pointer-events:none; max-width:calc(100% - 310px);">
-
+
- +
@@ -201,8 +201,8 @@
- diff --git a/loko/interventions/templates/interventions/interventions_index.html b/loko/interventions/templates/interventions/interventions_index.html index 8ca2787..a361261 100644 --- a/loko/interventions/templates/interventions/interventions_index.html +++ b/loko/interventions/templates/interventions/interventions_index.html @@ -827,12 +827,12 @@
+ style="position:absolute; top:4px; left:50%; transform:translateX(-50%); z-index:10; pointer-events:none; max-width:calc(100% - 360px);">
-
+
- +
@@ -850,8 +850,8 @@
- diff --git a/loko/observations/templates/observations/observations_index.html b/loko/observations/templates/observations/observations_index.html index 52c6fd6..3ddb88f 100644 --- a/loko/observations/templates/observations/observations_index.html +++ b/loko/observations/templates/observations/observations_index.html @@ -323,11 +323,11 @@
+ style="position:absolute; top:4px; left:50%; transform:translateX(-50%); z-index:10; pointer-events:none; max-width:calc(100% - 360px);">
-
+
- +
@@ -345,8 +345,8 @@
-