Skip to content

Commit

Permalink
Add styling for #62
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Mar 3, 2023
1 parent 981005a commit 206fef4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,16 @@
.ep-queries-debug-container {
clear: left;
}

#query-monitor-main a#ep-download-requests-info {
background: #007cba !important;
border: 1px solid #007cba !important;
border-radius: 3px !important;
color: #fff !important;
margin-right: 5px !important;
padding: 5px 10px !important;
}

#query-monitor-main .qm-debug-bar {
margin: 20px;
}
2 changes: 1 addition & 1 deletion classes/class-ep-debug-bar-elasticpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function render() {
<a download="debug-bar-elasticpress-report.txt" href="data:text/plain;charset=utf-8,<?php echo rawurlencode( implode( "\n\n", $copy_paste_output ) ); ?>" class="button-primary" id="ep-download-requests-info">
<?php esc_html_e( 'Download Requests Info', 'debug-bar-elasticpress' ); ?>
</a>
<button class="copy-curl button" data-request="<?php echo esc_attr( implode( "\n\n", $copy_paste_output ) ); ?>">
<button class="copy-curl button qm-button" data-request="<?php echo esc_attr( implode( "\n\n", $copy_paste_output ) ); ?>">
<?php esc_html_e( 'Copy Requests Info to Clipboard', 'debug-bar-elasticpress' ); ?>
</button>
<span class="ep-copy-button-wrapper__success" style="display: none;">
Expand Down

0 comments on commit 206fef4

Please sign in to comment.