mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
WebInspector: Add pointing hand cursor to close button
This commit is contained in:
parent
7e238f69b0
commit
c0a7ef8d9e
@ -83,9 +83,10 @@ void WebInspector::updateCloseButton()
|
|||||||
{
|
{
|
||||||
page()->runJavaScript(QL1S("var toolbar = document.getElementsByClassName('inspector-view-toolbar')[1];"
|
page()->runJavaScript(QL1S("var toolbar = document.getElementsByClassName('inspector-view-toolbar')[1];"
|
||||||
"var button = document.createElement('button');"
|
"var button = document.createElement('button');"
|
||||||
"button.style.width = '26px';"
|
"button.style.width = '22px';"
|
||||||
"button.style.height = '26px';"
|
"button.style.height = '22px';"
|
||||||
"button.style.border = 'none';"
|
"button.style.border = 'none';"
|
||||||
|
"button.style.cursor = 'pointer';"
|
||||||
"button.style.background = 'url(qrc:html/close.png) no-repeat';"
|
"button.style.background = 'url(qrc:html/close.png) no-repeat';"
|
||||||
"button.style.backgroundPosition = 'center center';"
|
"button.style.backgroundPosition = 'center center';"
|
||||||
"button.addEventListener('click', function() {"
|
"button.addEventListener('click', function() {"
|
||||||
|
Loading…
Reference in New Issue
Block a user