@@ -95,7 +95,9 @@ viewFeature feature =
9595 , a [ class " feature-image"
9696 , href feature. link
9797 ]
98- [ img [ src feature. image] []
98+ [ img [ src feature. image
99+ , style [ ( " width" , " 100%" ) ]
100+ ] []
99101 ]
100102 ]
101103
@@ -185,6 +187,7 @@ example imgSrc demo code =
185187 [ img
186188 [ src ( " /assets/examples/" ++ imgSrc ++ " .png" )
187189 , alt imgSrc
190+ , style [ ( " width" , " 100%" ) ]
188191 ]
189192 []
190193 ]
@@ -207,7 +210,7 @@ fluidList itemWidth maxColumns itemList =
207210
208211 bulletStyle =
209212 [ " display" => " inline-block"
210- , " width" => toPx itemWidth
213+ , " max- width" => toPx itemWidth
211214 , " vertical-align" => " top"
212215 , " text-align" => " left"
213216 , " margin" => ( " 0 " ++ toPx gutter)
@@ -285,7 +288,7 @@ company name website extension =
285288 [ a [ href website ]
286289 [ div
287290 [ style
288- [ " width" => " 100% "
291+ [ " width" => " 200px "
289292 , " height" => " 100px"
290293 , " background-image" => ( " url('" ++ imgSrc ++ " ')" )
291294 , " background-repeat" => " no-repeat"
@@ -295,6 +298,3 @@ company name website extension =
295298 []
296299 ]
297300 ]
298-
299-
300-
0 commit comments