Skip to content

Commit cc8f41e

Browse files
authored
Use zero width for copy height (php-debugbar#677)
1 parent ce4762b commit cc8f41e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/DebugBar/Resources/widgets/sqlqueries/widget.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before {
5757
}
5858
div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before {
5959
content: "\f0c5";
60-
line-height: 1.5;
6160
}
6261
div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard-check:before {
6362
content: "\f46c";

src/DebugBar/Resources/widgets/sqlqueries/widget.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
$('<span title="Copy to clipboard" />')
124124
.addClass(csscls('copy-clipboard'))
125125
.css('cursor', 'pointer')
126+
.html("&#8203;")
126127
.on('click', function (event) {
127128
self.onCopyToClipboard(this);
128129
event.stopPropagation();

0 commit comments

Comments
 (0)