From ccbc0a3f91c98df342fd302d907831cbb61360e7 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 28 Apr 2017 12:06:44 -0400 Subject: [PATCH] Make "Add field" wider (closes #3993) --- css/80_app.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/css/80_app.css b/css/80_app.css index 2f40040b2..7f30e41e6 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -1264,12 +1264,20 @@ button.save.has-count .count::before { font-weight: bold; } +.more-fields label { + display: flex; + flex-flow: row nowrap; + justify-content: space-between; + align-items: center; +} + .more-fields input { margin-left: 10px; - width: 50%; + flex: 1 1 50%; } [dir='rtl'] .more-fields input { - margin-left: 5px; + margin-left: auto; + margin-right: 10px; } .preset-input-wrap .label { @@ -1278,9 +1286,6 @@ button.save.has-count .count::before { padding: 5px 10px; } -[dir='rtl'] .more-fields label { - padding: 5px 0 5px 10px; -} /* preset form access */