diff --git a/src/frontend/templates/characters/edit_character.html.tera b/src/frontend/templates/characters/edit_character.html.tera index 58125e6..f447f46 100644 --- a/src/frontend/templates/characters/edit_character.html.tera +++ b/src/frontend/templates/characters/edit_character.html.tera @@ -7,7 +7,7 @@ font-family: Liberation Sans, Arial; } - #basicsBox { + #basics .flex-container { display: flex; flex-flow: row wrap; } @@ -40,15 +40,15 @@ margin: 0; } - #attributes { - padding: 4px; - border-collapse: collapse; + #attributes .flex-container { + display: flex; + flex-flow: row wrap; } #attributes .attributes-section { border: 1px solid gray; - border-collapse: collapse; - display: table-cell; + margin-left: -1px; + margin-top: -1px; } .attribute { @@ -58,10 +58,8 @@ } .attribute label { - display: inline-block; - float: left; - clear: left; width: 10em; + display: inline; text-align: right; vertical-align: text-bottom; padding: 8px; @@ -70,8 +68,7 @@ .attribute input { max-width: 4em; - display: inline-block; - float: left; + display: inline; padding: 8px; border: none; background-color: lightgray; @@ -175,7 +172,7 @@