From ac318d9206c0bb6b32a4bd9129926bb7343a576c Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Tue, 10 Sep 2024 18:52:34 +0200 Subject: [PATCH] Use zero width for copy height --- src/DebugBar/Resources/widgets/sqlqueries/widget.css | 1 - src/DebugBar/Resources/widgets/sqlqueries/widget.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugBar/Resources/widgets/sqlqueries/widget.css b/src/DebugBar/Resources/widgets/sqlqueries/widget.css index 46c2cc69..afdc8e4b 100644 --- a/src/DebugBar/Resources/widgets/sqlqueries/widget.css +++ b/src/DebugBar/Resources/widgets/sqlqueries/widget.css @@ -57,7 +57,6 @@ div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before { } div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before { content: "\f0c5"; - line-height: 1.5; } div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard-check:before { content: "\f46c"; diff --git a/src/DebugBar/Resources/widgets/sqlqueries/widget.js b/src/DebugBar/Resources/widgets/sqlqueries/widget.js index f5a91863..32453e93 100644 --- a/src/DebugBar/Resources/widgets/sqlqueries/widget.js +++ b/src/DebugBar/Resources/widgets/sqlqueries/widget.js @@ -123,6 +123,7 @@ $('') .addClass(csscls('copy-clipboard')) .css('cursor', 'pointer') + .html("​") .on('click', function (event) { self.onCopyToClipboard(this); event.stopPropagation();