Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Commit

Permalink
Make select dropdowns more larger - refs #14
Browse files Browse the repository at this point in the history
  • Loading branch information
real34 committed Oct 11, 2017
1 parent e7758ad commit d637be5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ view model =
[ h1 [ class "pv3 hover-ph1 hover-dark-red dib grow", style [ ( "cursor", "default" ) ], title "🎶 “Avec le temps, va, tout s'en va ...” - Léo Ferré" ] [ text "Zoupam v3" ]
, a [ href "#", title "Afficher / cacher la configuration", class "link ml3 moon-gray f3 dim", onClick ToggleConfigOpened ] [ i [ class "fa fa-cog" ] [] ]
, configuratorPart
, Projects.view model.projects
|> Html.map UpdateProjects
, versionsPart
, div [ class "mw8 center" ]
[ Projects.view model.projects
|> Html.map UpdateProjects
, versionsPart
]
, issuesPart
]
4 changes: 2 additions & 2 deletions src/Projects.elm
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ view model =
div [] []

Just projects ->
div [ class "tc" ]
[ select [ onInput ProjectSelect, class "pa2", autofocus True ]
div []
[ select [ onInput ProjectSelect, class "pa2 w-100", autofocus True ]
(List.map
(\project -> option [ project.id |> toString |> value ] [ text project.name ])
projects
Expand Down
4 changes: 2 additions & 2 deletions src/Versions.elm
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ view model =
div [] []

Just versions ->
div [ class "tc mt2" ]
[ select [ onInput SelectVersion, class "pa2" ]
div [ class "mt2" ]
[ select [ onInput SelectVersion, class "pa2 w-100" ]
(List.map
(\version -> option [ version.id |> toString |> value ] [ text version.name ])
versions
Expand Down

0 comments on commit d637be5

Please sign in to comment.