From 5c0261b607c2b1c7d30b317c4ef57b5a2d7b4735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 23 Jun 2015 07:17:21 +0200 Subject: [PATCH] style: do not indent form elements (labels, buttons, selects) (#7660) --- .../manager/static/authentic2/manager/css/style.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/authentic2/manager/static/authentic2/manager/css/style.css b/src/authentic2/manager/static/authentic2/manager/css/style.css index 402572e..0872180 100644 --- a/src/authentic2/manager/static/authentic2/manager/css/style.css +++ b/src/authentic2/manager/static/authentic2/manager/css/style.css @@ -14,9 +14,12 @@ div.content { margin-bottom: 2em; } +#sidebar input { + max-width: calc(100% - 20px); +} + #sidebar button { - width: calc(100% - 10px); - margin-left: 10px; + width: 100%; } @@ -196,9 +199,6 @@ a.disabled { form table tr th { text-align: right; } -div.buttons, form p label { - margin-left: 10px; -} form p input, form p select, form p textarea { width: calc(100% - 28px); } @@ -232,9 +232,8 @@ form p select{ display: inline; font-size: 0.99em; height: calc(1em + 17px); - margin-left: 10px; padding: 5px 8px; - width: calc(100% - 10px); + width: 100%; } #id_generate_password_p label, #id_reset_password_at_next_login_p label, -- 2.1.4