Skip to content

Commit f3bf584

Browse files
committed
fix weird indentation in media-queries
1 parent a65514a commit f3bf584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Css/Structure/Output.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ prettyPrintDeclaration declaration =
6060
MediaRule mediaQueries styleBlocks ->
6161
let
6262
blocks =
63-
(List.map (indent << prettyPrintStyleBlock) styleBlocks)
63+
(List.map (indentLines << prettyPrintStyleBlock) styleBlocks)
6464
|> String.join "\n\n"
6565

6666
query =
6767
(List.map (\(MediaQuery str) -> str) mediaQueries)
6868
|> String.join " "
6969
in
70-
"@media " ++ query ++ " {\n" ++ indentLines blocks ++ "\n}"
70+
"@media " ++ query ++ " {\n" ++ blocks ++ "\n}"
7171

7272
Keyframes name steps ->
7373
let

0 commit comments

Comments
 (0)