From 14db0da97f92c3c47c270793c87a86ebac34cdac Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 26 Oct 2018 18:33:51 +0200 Subject: ... --- src/css/src/roster-editor/selection-window.scss | 1 + src/roster-editor/src/View/CharacterSelection.elm | 18 +++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/css/src/roster-editor/selection-window.scss b/src/css/src/roster-editor/selection-window.scss index 02d6249..c719ea0 100644 --- a/src/css/src/roster-editor/selection-window.scss +++ b/src/css/src/roster-editor/selection-window.scss @@ -30,6 +30,7 @@ flex-flow: row wrap; justify-content: space-between; overflow-y: scroll; + padding: 0.5em; } .selection-window-listing > * diff --git a/src/roster-editor/src/View/CharacterSelection.elm b/src/roster-editor/src/View/CharacterSelection.elm index c2c56fa..1ff4fb9 100644 --- a/src/roster-editor/src/View/CharacterSelection.elm +++ b/src/roster-editor/src/View/CharacterSelection.elm @@ -27,12 +27,16 @@ get_html model = (Html.Attributes.class "selection-window"), (Html.Attributes.class "character-selection") ] - ( - (Html.text "Character Selection") - :: - (List.map - (View.CharacterCard.get_minimal_html) - (Array.toList model.characters) + [ + (Html.text "Character Selection"), + (Html.div + [ + (Html.Attributes.class "selection-window-listing") + ] + (List.map + (View.CharacterCard.get_minimal_html) + (Array.toList model.characters) + ) ) - ) + ] ) -- cgit v1.2.3-70-g09d2