We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use Block.text as presented in here but the text do not align.
viewUserDetails : UserDetails -> Html Msg viewUserDetails ud = Card.config [ Card.attrs [ style "width" "47em" ] ] |> Card.header [ class "text-center" ] [ viewCarousel ud.pictures ud.carouselState InputUserDetailsSelectImage , h3 [ Spacing.mt2 ] [ Html.text ud.pseudo ] ] |> Card.block [] [ Block.titleH4 [] [ Html.text (ud.first_name ++ " " ++ ud.last_name) ] , Block.titleH6 [] [ Html.text (ud.birth) ] , Block.titleH6 [] [ Html.text ((orientationToString ud.orientation) ++ " " ++ (genderToString ud.gender)) ] , Block.text [] [ Html.text ud.biography ] , Block.text [] [ Html.text <| case ud.last_log of Now -> "Is logged in" AWhileAgo date -> "Last log : " ++ date ] , Block.text [] [ Html.text ("Popularity score: " ++ String.fromInt ud.popularity_score) ] , Block.custom <| viewLikeButton ud.id ud.liked , Block.custom <| viewAngryButton "block" (Block ud.id) , Block.custom <| viewAngryButton "reprt" (Report ud.id) ] |> Card.view
Other elements of the page like the header aren't using elm-bootstrap package. It may have to do with that.
The whole code is available here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use Block.text as presented in here but the text do not align.
Other elements of the page like the header aren't using elm-bootstrap package. It may have to do with that.
The whole code is available here.
The text was updated successfully, but these errors were encountered: