vertical align

This commit is contained in:
DieMyst 2020-12-08 13:34:08 +03:00
parent d3b5f2105e
commit 83491792a3

View File

@ -42,12 +42,12 @@ body model =
[ [ header [ classes "w-100" ]
[ div [ classes "w-100 fl ph2 pv3 pb1 bg-white one-edge-shadow" ]
[ div [ classes "mw8-ns center ph3"]
[ div [ classes "fl mv1 pl3", style "max-width" "114px" ]
[ div [ classes "fl mv1 pl3" ]
[ a [ attribute "href" "/" ]
[ img [ classes "v-mid dib mw-100 h-auto", attribute "src" "/images/logo_new.svg" ] []
[ img [ classes "v-mid dib mw-100", style "height" "30px", attribute "src" "/images/logo_new.svg" ] []
]
]
, div [ classes "fl pl5 h-100" ] [ p [ classes "h-100 mv3 fw4 v-mid" ] [ text "Developer Hub" ] ]
, div [ classes "fl pl5 h-auto" ] [ p [ classes "h-100 m-auto fw4 v-mid" ] [ text "Developer Hub" ] ]
]
]
]