summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/css/src/roster-editor/selection-window.scss1
-rw-r--r--src/roster-editor/src/View/CharacterSelection.elm18
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)
+ )
)
- )
+ ]
)