From 5599c4d05b883e4fbf0094f3d8aac6c20ffb450e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 24 Apr 2017 14:49:44 +0200 Subject: [PATCH] Revert kbd display property This change reverts 8d381dc61e8183adcb770457f9fba25c29c00bd2 --- wcfsetup/install/files/style/bbcode/inlineCode.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/bbcode/inlineCode.scss b/wcfsetup/install/files/style/bbcode/inlineCode.scss index 4bf5b478d0..2f158752e9 100644 --- a/wcfsetup/install/files/style/bbcode/inlineCode.scss +++ b/wcfsetup/install/files/style/bbcode/inlineCode.scss @@ -5,7 +5,9 @@ kbd { border-radius: 2px; color: rgba(68, 68, 68, 1) !important; /* do not use inline-block, it breaks arrow key navigation in Firefox and Internet Explorer 11 */ - display: inline; + /* update: `inline` styling breaks even more things, in particular the caret position is way off */ + /* this reverts 8d381dc61e8183adcb770457f9fba25c29c00bd2 */ + display: inline-block; font-family: Consolas, 'Courier New', monospace; font-style: normal; font-weight: normal; -- 2.20.1