Skip to content

Commit 3574e2a

Browse files
committed
Visual styling tweaks for the editor select menu.
1 parent a81aa28 commit 3574e2a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

assets/_styles.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ body.admin-color-light #wp-admin-bar-query-monitor:not(.qm-all-clear):not(:hover
11861186
}
11871187

11881188
.qm-title-heading select,
1189+
.qm select.qm-select,
11891190
.qm select.qm-filter {
11901191
-webkit-appearance: menulist !important;
11911192
-moz-appearance: menulist !important;
@@ -1209,10 +1210,18 @@ body.admin-color-light #wp-admin-bar-query-monitor:not(.qm-all-clear):not(:hover
12091210
max-width: unset !important;
12101211
}
12111212

1213+
.qm select.qm-select:hover,
12121214
.qm select.qm-filter:hover {
12131215
background: var( --qm-cell-bg-hover ) !important;
12141216
}
12151217

1218+
.qm select.qm-select {
1219+
margin: 0 !important;
1220+
padding: 4px 10px 4px 4px !important;
1221+
border-radius: 2px !important;
1222+
max-width: none !important;
1223+
}
1224+
12161225
.qm-hide,
12171226
.qm-hide-scripts-dependencies,
12181227
.qm-hide-styles-dependencies,

dispatchers/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ protected function after_output() {
577577
echo '<p>' . esc_html__( 'You can set your editor here, so that when you click on stack trace links the file opens in your editor.', 'query-monitor' ) . '</p>';
578578

579579
echo '<p>';
580-
echo '<select id="qm-editor-select" name="qm-editor-select" class="qm-filter">';
580+
echo '<select id="qm-editor-select" name="qm-editor-select" class="qm-select">';
581581

582582
$xdebug_format = ini_get( 'xdebug.file_link_format' );
583583
$default_label = ! empty( $xdebug_format ) ? 'Xdebug format' : 'None';

0 commit comments

Comments
 (0)