Add indicator to show active category filter
continuous-integration/drone/push Build is passing Details

Closes #33
This commit is contained in:
3wc 2023-03-28 23:08:16 -04:00
parent e2f9cdd7e2
commit 6851d2fe1f
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}

View File

@ -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)" ]