From e700ea5afe6fd651fa78fd1dbbe297c9e8d0b691 Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Wed, 11 Oct 2017 18:24:10 +0000 Subject: [PATCH] Code Editors: Improve cursor interactions on warning notices. Fixes an issue where hovering over the warning icon didn't work if there were multiple warnings on the same line of code. Also updates the cursor from "pointer" to "help" when hovering over warnings and errors. Props joyously, obenland. Fixes #42129. git-svn-id: https://develop.svn.wordpress.org/trunk@41830 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/code-editor.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-admin/css/code-editor.css b/src/wp-admin/css/code-editor.css index 3acf6a1270..a1254ace63 100644 --- a/src/wp-admin/css/code-editor.css +++ b/src/wp-admin/css/code-editor.css @@ -2,6 +2,12 @@ .wp-core-ui [class*="CodeMirror-lint-message"], .wrap .CodeMirror-lint-marker-multiple { background-image: none; + cursor: help; +} + +.wrap .CodeMirror-lint-marker-multiple { + position: absolute; + top: 0; } .wrap [class*="CodeMirror-lint-marker"]:before {