diff --git a/dico.php b/dico.php
index e55a600..e633651 100644
--- a/dico.php
+++ b/dico.php
@@ -62,9 +62,9 @@ function mots_espaces($longueur)
foreach ($mots_de_n_lettres[$i] as $mot1) {
foreach (mots_espaces($longueur - $i - 1) as $mot2) {
if ($mot1 != $mot2) {
- $dico["$mot1 $mot2"] = $dico[$mot1] && $dico[$mot2] ? "
- {$dico[$mot1]}
- {$dico[$mot2]}
" : $dico[$mot1] . $dico[$mot2];
+ $dico["$mot1 $mot2"] = $dico[$mot1] && $dico[$mot2] ? "{$dico[$mot1]}{$dico[$mot2]}" : $dico[$mot1] . $dico[$mot2];
yield "$mot1 $mot2";
- $dico["$mot2 $mot1"] = $dico[$mot2] && $dico[$mot1] ? "- {$dico[$mot2]}
- {$dico[$mot1]}
" : $dico[$mot2] . $dico[$mot1];
+ $dico["$mot2 $mot1"] = $dico[$mot2] && $dico[$mot1] ? "{$dico[$mot2]}{$dico[$mot1]}" : $dico[$mot2] . $dico[$mot1];
yield "$mot2 $mot1";
$nb_mots += 2;
if ($nb_mots > MAX_MOTS) {
diff --git a/index.php b/index.php
index c342d6c..67a8173 100644
--- a/index.php
+++ b/index.php
@@ -106,7 +106,7 @@ $grille = new Grille($hauteur, $largeur, $id);
Horizontalement
- - = $dico[$grille->get_ligne($l, $largeur)] ?>
+ = $dico[$grille->get_ligne($l, $largeur)] ?>
@@ -114,7 +114,7 @@ $grille = new Grille($hauteur, $largeur, $id);
Verticalement
- - = $dico[$grille->get_colonne($c, $hauteur)] ?>
+ = $dico[$grille->get_colonne($c, $hauteur)] ?>
diff --git a/style.css b/style.css
index 581edac..6aad88e 100644
--- a/style.css
+++ b/style.css
@@ -104,7 +104,7 @@ table.grille {
}
.definitions li ol {
- padding-left: 1em;
+ padding-left: 0.8em;
}
.definitions li li::marker {