Browse Source

Taille plus raisonnable de la croix: 24px

v2 v2.1.1
ARNO* 1 year ago
parent
commit
38e2136290
  1. 2
      centre_image_fonctions.php
  2. 2
      paquet.xml

2
centre_image_fonctions.php

@ -287,7 +287,7 @@ function centre_image_header_prive($flux) {
$flux .= "\n<script type='text/javascript' src='".timestamp(find_in_path("centre_image_gestion.js"))."'></script>\n";
$flux .= "\n<script>var croix = '".timestamp(find_in_path("imgs/croix-centre-image.svg"))."'</script>";
$flux .= "<style>
.croix_centre_image {cursor: move;touch-action: none;-webkit-user-drag: none; position: absolute; margin-left: -15px; margin-top: -15px; width: 30px; height:30px; background:transparent!important;}
.croix_centre_image {cursor: move;touch-action: none;-webkit-user-drag: none; position: absolute; margin-left: -12px; margin-top: -12px; width: 24px; height:24px; background:transparent!important;}
</style>";
return $flux;
}

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="centre_image"
categorie="multimedia"
version="2.1.0"
version="2.1.1"
etat="stable"
compatibilite="[3.0.19;3.3.*]"
logo="prive/themes/spip/images/centre_image-64.png"

Loading…
Cancel
Save