summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-10-31 13:08:47 +0100
committerYorhel <git@yorhel.nl>2020-10-31 15:53:13 +0100
commit23a098bc705bd38c1f7e59a78ef402da12287e6d (patch)
treee0f1f1be8d48154affbac0199e0cad6429a56702 /elm
parent90e2dc96e786da59722b3a94dc74c2325776231d (diff)
Advsearch: Minor UI tweaks
Diffstat (limited to 'elm')
-rw-r--r--elm/AdvSearch/Set.elm7
1 files changed, 5 insertions, 2 deletions
diff --git a/elm/AdvSearch/Set.elm b/elm/AdvSearch/Set.elm
index 48f5f6a0..6e22f382 100644
--- a/elm/AdvSearch/Set.elm
+++ b/elm/AdvSearch/Set.elm
@@ -136,7 +136,9 @@ platformView model =
[ h3 [] [ text "Platforms for which the visual novel is available." ]
, opts model True
]
- , ul [ style "columns" "2"] <| List.map (\(p,t) -> li [] [ linkRadio (Set.member p model.sel) (Sel p) [ platformIcon p, text t ] ]) GT.platforms
+ , ul [ style "columns" "2"] <| List.map (\(p,t) ->
+ li [classList [("separator", p == "web")]] [ linkRadio (Set.member p model.sel) (Sel p) [ platformIcon p, text t ] ]
+ ) GT.platforms
]
)
@@ -157,7 +159,8 @@ lengthView model =
l -> span [] [ lblPrefix model, text <| "Length (" ++ String.fromInt (List.length l) ++ ")" ]
, \() ->
[ div [ class "advheader" ]
- [ opts model False ]
+ [ h3 [] [ text "Length" ]
+ , opts model False ]
, ul [] <| List.map (\(l,t) -> li [] [ linkRadio (Set.member l model.sel) (Sel l) [ text t ] ]) GT.vnLengths
]
)