From e538eab674cfd186c659ba21b3df0a55ac653d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 8 Jan 2019 22:45:40 +0100 Subject: [PATCH] modDeck form properties --- src/style/custom.scss | 1 - views/usercp.pug | 33 +++++++++------------------------ 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/src/style/custom.scss b/src/style/custom.scss index 862a0a8..f0e6ee2 100644 --- a/src/style/custom.scss +++ b/src/style/custom.scss @@ -6,7 +6,6 @@ html, body { height: 100%; - overflow: hidden; } diff --git a/views/usercp.pug b/views/usercp.pug index 88ce10f..0e264a2 100644 --- a/views/usercp.pug +++ b/views/usercp.pug @@ -18,43 +18,28 @@ html h4 My Decks ul.list-group#my-decks li.list-group-item - div.align-middle - div.d-inline-block.btn-group(role="group") + div.row + div.col-3.btn-group(role="group") button.btn.btn-secondary(data-toggle="collapse" data-target="#modDeck0") Edit button.btn.btn-secondary#delDeck0 Delete - div.d-inline-block.pl-2 item1 + div.col-9.align-self-center item1 - form.float-none.collapse#modDeck0(name="modDeck0") + form.collapse.pt-2#modDeck0(name="modDeck0") div.form-group label(for="deck") Decklist: - textarea.form-control.text-monospace(name="deck" required) + textarea.form-control.form-control-sm.text-monospace(name="deck" rows="20" required) div.form-group - button.btn.btn-primary.w-100(type="submit") Add - - li.list-group-item - div.align-middle - div.d-inline-block.btn-group(role="group") - button.btn.btn-secondary(data-toggle="collapse" data-target="#modDeck1") Edit - button.btn.btn-secondary#delDeck1 Delete - div.d-inline-block.pl-2 item2 - - form.float-none.collapse#modDeck1(name="modDeck1") - div.form-group - label(for="deck") Decklist: - textarea.form-control.text-monospace(name="deck" required) - - div.form-group - button.btn.btn-primary.w-100(type="submit") Add + button.btn.btn-primary.w-100(type="submit") Confirm + + p Hello div.col-md-4 h4 New Deck form(name="addDeck") div.form-group label(for="deck") Paste decklist: - textarea.form-control.text-monospace(name="deck" required) + textarea.form-control.form-control-sm.text-monospace(name="deck" rows="20" required) div.form-group button.btn.btn-primary.w-100(type="submit") Add - - p Hello