@@ -435,8 +435,8 @@ public static function render_site_blocked_domains_field() {
435435
436436 <div class="activitypub-site-block-list">
437437 <?php if ( ! empty ( $ blocked_domains ) ) : ?>
438- <details style="margin: 10px 0; ">
439- <summary style="cursor: pointer; padding: 8px 0; color: inherit;" >
438+ <details class="activitypub-site-block-details ">
439+ <summary>
440440 <?php
441441 echo \esc_html (
442442 \sprintf (
@@ -447,11 +447,11 @@ public static function render_site_blocked_domains_field() {
447447 );
448448 ?>
449449 </summary>
450- <table class="widefat striped activitypub-site-blocked-domain" role="presentation" style="max-width: 500px; margin-top: 10px;" >
450+ <table class="widefat striped activitypub-site-blocked-domain" role="presentation">
451451 <?php foreach ( $ blocked_domains as $ domain ) : ?>
452452 <tr>
453453 <td><?php echo \esc_html ( $ domain ); ?> </td>
454- <td style="width: 80px;" >
454+ <td>
455455 <button type="button" class="button button-small remove-site-block-btn" data-type="domain" data-value="<?php echo \esc_attr ( $ domain ); ?> ">
456456 <?php \esc_html_e ( 'Remove ' , 'activitypub ' ); ?>
457457 </button>
@@ -483,8 +483,8 @@ public static function render_site_blocked_keywords_field() {
483483
484484 <div class="activitypub-site-block-list">
485485 <?php if ( ! empty ( $ blocked_keywords ) ) : ?>
486- <details style="margin: 10px 0; ">
487- <summary style="cursor: pointer; padding: 8px 0; color: inherit;" >
486+ <details class="activitypub-site-block-details ">
487+ <summary>
488488 <?php
489489 echo \esc_html (
490490 \sprintf (
@@ -495,11 +495,11 @@ public static function render_site_blocked_keywords_field() {
495495 );
496496 ?>
497497 </summary>
498- <table class="widefat striped activitypub-site-blocked-keyword" role="presentation" style="max-width: 500px; margin-top: 10px;" >
498+ <table class="widefat striped activitypub-site-blocked-keyword" role="presentation">
499499 <?php foreach ( $ blocked_keywords as $ keyword ) : ?>
500500 <tr>
501501 <td><?php echo \esc_html ( $ keyword ); ?> </td>
502- <td style="width: 80px;" >
502+ <td>
503503 <button type="button" class="button button-small remove-site-block-btn" data-type="keyword" data-value="<?php echo \esc_attr ( $ keyword ); ?> ">
504504 <?php \esc_html_e ( 'Remove ' , 'activitypub ' ); ?>
505505 </button>
0 commit comments