From c0a7ef8d9ee40d22d8ad04b590be419e058aae96 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 11 Oct 2015 10:29:09 +0200 Subject: [PATCH] WebInspector: Add pointing hand cursor to close button --- src/lib/webengine/webinspector.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/webengine/webinspector.cpp b/src/lib/webengine/webinspector.cpp index 5a52b86d4..664d684af 100644 --- a/src/lib/webengine/webinspector.cpp +++ b/src/lib/webengine/webinspector.cpp @@ -83,9 +83,10 @@ void WebInspector::updateCloseButton() { page()->runJavaScript(QL1S("var toolbar = document.getElementsByClassName('inspector-view-toolbar')[1];" "var button = document.createElement('button');" - "button.style.width = '26px';" - "button.style.height = '26px';" + "button.style.width = '22px';" + "button.style.height = '22px';" "button.style.border = 'none';" + "button.style.cursor = 'pointer';" "button.style.background = 'url(qrc:html/close.png) no-repeat';" "button.style.backgroundPosition = 'center center';" "button.addEventListener('click', function() {"