diff --git a/public/style.css b/public/style.css index 0017ecc..1dc24bb 100644 --- a/public/style.css +++ b/public/style.css @@ -47,8 +47,8 @@ i.fas, i.fab { font-size: 18px; } -#filter label { - display: block; +input[type=checkbox] { + margin-right: 0.5rem; } .category-tile { @@ -140,7 +140,7 @@ i.fas, i.fab { } @media (min-width: 768px) { - .card-body p { + .smaller-card .card-body p { height: 2.5rem; } } diff --git a/src/Pages/Top.elm b/src/Pages/Top.elm index 3e62942..02b6799 100644 --- a/src/Pages/Top.elm +++ b/src/Pages/Top.elm @@ -2,7 +2,7 @@ module Pages.Top exposing (Model, Msg, Params, page) import Enum exposing (Enum) import Html exposing (Html, a, button, div, form, h2, h3, h5, i, img, input, label, li, option, p, select, span, text, ul) -import Html.Attributes exposing (alt, class, classList, for, href, id, src, style, value) +import Html.Attributes exposing (alt, class, classList, for, href, id, src, style, type_, value) import Html.Attributes.Aria exposing (ariaLabel) import Html.Events exposing (onClick, onInput) import Http @@ -394,7 +394,7 @@ viewApps model = ] , div [] [ h3 [] [ text "Status" ] - , label [ for "level" ] [ text "Minimum score:" ] + , label [ class "d-block", for "level" ] [ text "Minimum score:" ] , select [ class "search-dropdown", id "level", onInput FilterScore ] [ option [] [ text "any" ] , option [ value "5" ] [ text "5 (amazing)" ]