erictapen / mapping-migration

How European States Decide on Asylum
https://uclab.fh-potsdam.de/mapping/asylum/
2 stars 0 forks source link

Einzug links #45

Closed herbertblb closed 2 years ago

herbertblb commented 2 years ago

grafik

In my opinion (or on my screen in Firefox) the text is too far to the left, it starts directly at the edge of the screen. Is this something I could fix in the introduction.elm or does this have to do with the general layout and therefore in the main.elm?

erictapen commented 2 years ago

Mh you could try to add styling to the introduction. Every HTML element like div, p, h1 etc has two lists as arguments:

div [] [ text "Text" ]

In the first list you can add styling information for the element, which is written in CSS:

div [ style "margin-left: 3em;" ] [ text "Text" ]

em is a distance unit like cm, that is dependent on the font size of the website.

If you add margin-left to the outermost div in the introduction, you should get the desired effect.