scroll popup carte
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user