File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
plugins/wpgraphql-logging Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 55 margin-bottom : 20px ;
66}
77
8- .wpgraphql-logging-view-table pre .wpgraphql-logging-query ,
9- .wpgraphql-logging-view-table pre .wpgraphql-logging-context ,
10- .wpgraphql-logging-view-table pre .wpgraphql-logging-extra {
8+ .wpgraphql-logging-details pre .wpgraphql-logging-query ,
9+ .wpgraphql-logging-details pre .wpgraphql-logging-context ,
10+ .wpgraphql-logging-details pre .wpgraphql-logging-extra {
1111 white-space : pre-wrap;
1212 max-height : 540px ;
1313 overflow-y : scroll;
1414 padding : 15px ;
1515 border : 1px solid # ddd ;
1616 border-radius : 4px ;
1717}
18+
19+ pre .wpgraphql-logging-list-table-query {
20+ overflow-x : auto;
21+ background : # f4f4f4 ;
22+ margin-top : 0 ;
23+ margin-bottom : 0 ;
24+ padding : 15px ;
25+ border : 1px solid # ddd ;
26+ border-radius : 4px ;
27+ max-height : 20px ;
28+ }
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ protected function format_code(string $code): string {
413413 if ( empty ( $ code ) ) {
414414 return '' ;
415415 }
416- return '<pre style="overflow-x: auto; background: #f4f4f4; padding: 15px; border: 1px solid #ddd; border-radius: 4px; max-height: 300px; "> ' . esc_html ( $ code ) . '</pre> ' ;
416+ return '<pre class="wpgraphql-logging-list-table-query "> ' . esc_html ( $ code ) . '</pre> ' ;
417417 }
418418
419419 /**
Original file line number Diff line number Diff line change 3333 </a>
3434 </div>
3535
36- <table class="widefat striped wpgraphql-logging-view-table ">
36+ <table class="widefat striped wpgraphql-logging-details ">
3737 <tbody>
3838 <tr>
3939 <th><?php esc_html_e ( 'ID ' , 'wpgraphql-logging ' ); ?> </th>
You can’t perform that action at this time.
0 commit comments