scroll popup carte

This commit is contained in:
2025-05-16 11:08:20 +02:00
parent 6b5b89ac10
commit f0608f5a69
4 changed files with 20 additions and 1 deletions
File diff suppressed because one or more lines are too long
+5
View File
@@ -3909,6 +3909,11 @@ svg.ext {
.path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-2 {
grid-column: 1/span 10;
}
.path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-2 .leaflet-popup-content {
overflow: scroll;
height: 210px;
margin: 17px 10px 17px 20px !important;
}
.path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-config-pages-block {
grid-column: 3/span 5;
margin: auto;
+9
View File
@@ -226,6 +226,7 @@ jQuery(function($) {
// }]
});
console.log('salut slick ressource');
});
@@ -268,7 +269,15 @@ $(document).ready(function () {
// /////// end class à views-row-wrapper ///////
/////////////// start ouverture liens externes vers nouvel onglet //////////////////
document.querySelectorAll('a[href^="http"]').forEach(link => {
if (!link.href.includes(location.hostname)) {
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener noreferrer');
}
});
/////////////// end ouverture liens externes vers nouvel onglet //////////////////
})(jQuery, window);
@@ -31,6 +31,11 @@
/// carte
.block-views-blockprojets-block-2{
grid-column: 1 / span 10;
.leaflet-popup-content{
overflow: scroll;
height: 210px;
margin: 17px 10px 17px 20px !important;
}
}
//texte de présentation