diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index b61e9a9ae3..e8fbcfde3b 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -717,6 +717,7 @@ span.wp-media-buttons-icon:before { } .privacy-text-actions { + height: 32px; line-height: 32px; padding-bottom: 6px; } diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 51f795a9df..5a710146fa 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1586,15 +1586,17 @@ final class WP_Privacy_Policy_Content { $content .= ''; $content .= '
'; - $content .= ''; + if ( $folded ) { + $content .= ''; - $content .= ''; + $content .= ''; + } if ( empty( $section['removed'] ) ) { $content .= '