Skip to content

Commit

Permalink
Panneaux du searchEngine responsive et mieux positionnés (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 authored May 24, 2024
1 parent a86cdf7 commit 31710c4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Binary file removed geoportal-extensions-openlayers-1.0.0-beta.29.tgz
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@gouvfr/dsfr": "^1.11.2",
"@gouvminint/vue-dsfr": "^5.14.2",
"geoportal-extensions-openlayers": "./geoportal-extensions-openlayers-1.0.0-beta.29.tgz",
"geoportal-extensions-openlayers": "./geoportal-extensions-openlayers-1.0.0-beta.32-52.tgz",
"ol": "8.2.0"
},
"devDependencies": {
Expand Down
11 changes: 8 additions & 3 deletions src/components/carte/control/SearchEngine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,25 @@ const onClickSearch = (e) => {

<style>
/* Centrage de la barre de recherche avec marge horizontales auto et largeur fixe */
div[id^="GPsearchEngine-"]{
div[id^="GPsearchEngine-"] {
position: relative;
width: 520px;
margin: 0 auto;
left: unset;
}
/* pas de scrollbar sur les panneaux de recherche avancée */
form[id^="GPadvancedSearchForm"],
form[id^="GPcoordinateSearchForm"] {
max-height: unset;
}
/* MODE MOBILE : les boutons sont en dessous de la barre de recherche qui prend toute la largeur */
@media (max-width: 576px){
div[id^=GPsearchEngine-]{
flex-direction: column;
top: unset;
left: unset;
width:100%;
width: 100%;
}
}
</style>

0 comments on commit 31710c4

Please sign in to comment.