From 8bb0bca808c1719eeb82a6d0205cc8efe9b2e7b9 Mon Sep 17 00:00:00 2001 From: Prssanna Desai Date: Mon, 1 Oct 2018 19:51:40 +0530 Subject: [PATCH] UX: Improve spacing & alignment for Category edit modal (#6432) --- app/assets/stylesheets/common/base/modal.scss | 9 ++++++++- app/assets/stylesheets/desktop/upload.scss | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss index 0582f57d6ec..878b4922ce5 100644 --- a/app/assets/stylesheets/common/base/modal.scss +++ b/app/assets/stylesheets/common/base/modal.scss @@ -370,8 +370,11 @@ .edit-category-modal { input[type="number"] { - min-width: 8em; + min-width: 15em; margin-bottom: 0; + position: relative; + left: 2%; + margin-right: 4%; } .subcategory-list-style-field { @@ -414,6 +417,10 @@ width: 50px; } } + + .add-permission { + margin-top: 12px; + } } .incoming-email-modal { diff --git a/app/assets/stylesheets/desktop/upload.scss b/app/assets/stylesheets/desktop/upload.scss index b724f6bab9a..37e6b4f83a9 100644 --- a/app/assets/stylesheets/desktop/upload.scss +++ b/app/assets/stylesheets/desktop/upload.scss @@ -46,6 +46,6 @@ .image-upload-controls { padding: 10px; label.btn { - padding: 5px 10px; + padding: 7px 10px; } }