From 052559c5d7bdea31a1ef8d62ff4fee8816ebf884 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 22 Jun 2014 10:25:08 +0100 Subject: [PATCH] Fix line height for buttons in Firefox 30 This is pretty ugly, but it's the best solution I have at the current time. Seems to fix Firefox 30 without breaking Chrome or Opera and doesn't make IE8 any worse. Fixes #756 --- app/assets/stylesheets/common.css.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 5b0889455..019223825 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1931,7 +1931,6 @@ a.button { cursor: pointer; border: 0; display: inline-block; - line-height: 20px; padding: $lineheight/4 $lineheight/2; min-height: 20px + $lineheight/2; min-width: 120px; @@ -1962,6 +1961,16 @@ a.button { } } +input[type="button"], +input[type="submit"], +input[type="reset"] { + line-height: normal; +} + +a.button { + line-height: 20px; +} + .buttons { min-width: 200px; input[type="submit"], -- 2.43.2