eeue56 / elm-static-html-lib

BSD 3-Clause "New" or "Revised" License
57 stars 11 forks source link

Indent incorrectly handled by server-side-renderer #4

Closed eeue56 closed 6 years ago

eeue56 commented 6 years ago

When newlines are automatically inserted by this tool, the browser inserts spaces between inline block elements. This can negatively impact layout. For example see:

https://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements

I propose to add configuration options for indentation and newlines into the config file defaulting to the current values of 4 spaces and true respectively.

taken from https://github.com/eeue56/elm-static-html/issues/10