From da319f0807e7f8d1baf8a840c77fd9fcb69ab142 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 30 Aug 2012 02:35:36 +0200 Subject: [PATCH] fix for text on buttons and in inputs being 1px too low in recent versions of chrome (fixes #924) --- source/Ox.UI/css/Ox.UI.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index cf2390e7..59a66ced 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -583,14 +583,16 @@ input.OxLarge { */ input.OxLarge { height: 18px; - font-size: 13px; padding: 0 8px 0 8px; + font-size: 13px; + line-height: 18px; border-radius: 10px; } input.OxMedium { height: 14px; padding: 0 6px 0 6px; font-size: 11px; + line-height: 14px; border-radius: 8px; } input.OxMedium.OxRounded { @@ -605,6 +607,7 @@ input.OxSmall { height: 10px; padding: 0 4px 0 4px; font-size: 8px; + line-height: 10px; border-radius: 6px; }