@@ -2563,6 +2563,12 @@ toStyleSheetString options stylesheet =
2564 "." ++ cls
2564 "." ++ cls
2567+ String.fromFloat (toFloat x / 2) ++ "px"
2570+ String.fromFloat (toFloat y / 2) ++ "px"
2567 String.fromInt x ++ "px"
2573 String.fromInt x ++ "px"
@@ -2597,21 +2603,20 @@ toStyleSheetString options stylesheet =
2597 "." ++ Internal.Style.classes.single
2603 "." ++ Internal.Style.classes.single
2599 String.concat
2605 String.concat
2600− [ renderStyle maybePseudo (class ++ row ++ " > " ++ any) [ Property "margin-right" xPx ]
2606+ [ renderStyle maybePseudo (class ++ row ++ " > " ++ any ++ " + " ++ any) [ Property "margin-left" xPx ]
2602 -- margins don't apply to last element of normal, unwrapped rows
2608 -- margins don't apply to last element of normal, unwrapped rows
2603− , renderStyle maybePseudo (class ++ row ++ " > " ++ any ++ ":last-child") [ Property "margin" "0" ]
2609+ -- , renderStyle maybePseudo (class ++ row ++ " > " ++ any ++ ":first-child") [ Property "margin" "0" ]
2605 -- For wrapped rows, margins always apply because we handle "canceling out" the other margins manually in the element.
2610 -- For wrapped rows, margins always apply because we handle "canceling out" the other margins manually in the element.
2606 , renderStyle maybePseudo
2611 , renderStyle maybePseudo
2607 (class ++ wrappedRow ++ " > " ++ any)
2612 (class ++ wrappedRow ++ " > " ++ any)
2608− [ Property "margin" ("0 " ++ xPx ++ " " ++ yPx ++ " 0")
2613+ [ Property "margin" (halfY ++ " " ++ halfX)
2610− , renderStyle maybePseudo
2611− (class ++ wrappedRow ++ " > " ++ any ++ ":last-child")
2612− [ Property "margin-right" "0"
2616+ -- , renderStyle maybePseudo
2617+ -- (class ++ wrappedRow ++ " > " ++ any ++ ":last-child")
2618+ -- [ Property "margin-right" "0"
2615 -- columns
2620 -- columns
2616 , renderStyle maybePseudo (class ++ column ++ " > " ++ any ++ " + " ++ any) [ Property "margin-top" yPx ]
2621 , renderStyle maybePseudo (class ++ column ++ " > " ++ any ++ " + " ++ any) [ Property "margin-top" yPx ]
2617 , renderStyle maybePseudo (class ++ page ++ " > " ++ any ++ " + " ++ any) [ Property "margin-top" yPx ]
2622 , renderStyle maybePseudo (class ++ page ++ " > " ++ any ++ " + " ++ any) [ Property "margin-top" yPx ]