@@ -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,7 +447,7 @@ 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>
@@ -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,7 +495,7 @@ 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>
0 commit comments