File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -625,6 +625,11 @@ span.gouel-ville-proche {
625625 # title-text {
626626 font-size : 7vw ;
627627 }
628+
629+ .gouel {
630+ min-height : calc (var (--duree ) * 100px );
631+ }
632+
628633}
629634
630635
Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ <h1>Kerlandrier.cc</h1>
120120 for ( let i = 0 ; i < fest . length ; i ++ ) {
121121 const div = document . createElement ( 'div' ) ;
122122 div . classList . add ( 'gouel' ) ;
123- div . style . height = `${ value [ i ] . duration * 140 } px` ;
123+ // Hauteur de div selon la duree du festival
124+ div . style . setProperty ( '--duree' , fest [ i ] . Duree ) ;
125+ //div.style.minHeight = `${fest[i].Duree * 100}px`;
124126 const tagsdiv = document . createElement ( 'div' ) ;
125127
126128 // Mots clés en style Kerlandrier
You can’t perform that action at this time.
0 commit comments