From dc1615393b0718ce9bacadb8668e93d8c7a49b57 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 23 Oct 2017 15:19:23 +0200 Subject: [PATCH] Change the padding of icon-only buttons So that they have the same height as buttons with text --- app/assets/stylesheets/new_design/buttons.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/new_design/buttons.scss b/app/assets/stylesheets/new_design/buttons.scss index 1b4c31863..127e389b5 100644 --- a/app/assets/stylesheets/new_design/buttons.scss +++ b/app/assets/stylesheets/new_design/buttons.scss @@ -93,8 +93,12 @@ } } - &.icon-only .icon { - margin-right: 0; + &.icon-only { + padding: 9px 16px; + + .icon { + margin-right: 0; + } } }