From 343f1487285eee3167aaf07d8fadb26c8f0757c6 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Thu, 25 Oct 2018 18:30:04 +0200 Subject: ... --- src/css/src/roster-editor/selection-window.scss | 19 ++++++++++++++++++- src/roster-editor/src/ElmModule/Update.elm | 5 ----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/css/src/roster-editor/selection-window.scss b/src/css/src/roster-editor/selection-window.scss index 57568e3..02d6249 100644 --- a/src/css/src/roster-editor/selection-window.scss +++ b/src/css/src/roster-editor/selection-window.scss @@ -17,6 +17,23 @@ border-left: none; display: flex; - flex-flow: column; + flex-flow: row; + flex-wrap: wrap; justify-content: space-between; } + +.selection-window-listing +{ + width: 100%; + height: calc(100% - 1em); + display: flex; + flex-flow: row wrap; + justify-content: space-between; + overflow-y: scroll; +} + +.selection-window-listing > * +{ + width: 16em; + display: block; +} diff --git a/src/roster-editor/src/ElmModule/Update.elm b/src/roster-editor/src/ElmModule/Update.elm index ee6f515..dce9852 100644 --- a/src/roster-editor/src/ElmModule/Update.elm +++ b/src/roster-editor/src/ElmModule/Update.elm @@ -3,13 +3,8 @@ module ElmModule.Update exposing (update) -- Elm ------------------------------------------------------------------------- -- Roster Editor --------------------------------------------------------------- -import Struct.Armor import Struct.Event -import Struct.Glyph -import Struct.GlyphBoard import Struct.Model -import Struct.Portrait -import Struct.Weapon import Update.GoToMainMenu import Update.HandleServerReply -- cgit v1.2.3-70-g09d2