Add indicator to show active category filter
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Closes #33
This commit is contained in:
parent
e2f9cdd7e2
commit
6851d2fe1f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)" ]
|
||||
|
|
Loading…
Reference in New Issue