summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-10-26 18:33:51 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-10-26 18:33:51 +0200 |
commit | 14db0da97f92c3c47c270793c87a86ebac34cdac (patch) | |
tree | f176d4e47ec18a5fdd4df437836d19fdef994709 | |
parent | 343f1487285eee3167aaf07d8fadb26c8f0757c6 (diff) |
...
-rw-r--r-- | src/css/src/roster-editor/selection-window.scss | 1 | ||||
-rw-r--r-- | src/roster-editor/src/View/CharacterSelection.elm | 18 |
2 files changed, 12 insertions, 7 deletions
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) + ) ) - ) + ] ) |