diff --git a/assets/css/page-widgets/suggested-tasks.css b/assets/css/page-widgets/suggested-tasks.css
index 62a94dc27..4f83b716c 100644
--- a/assets/css/page-widgets/suggested-tasks.css
+++ b/assets/css/page-widgets/suggested-tasks.css
@@ -453,6 +453,10 @@
/* If there are no other elements in the form, align the button to the left. */
&:only-child {
padding-top: 0;
+ }
+
+ &:only-child,
+ &.prpl-steps-nav-wrapper-align-left {
justify-content: flex-start;
/* Display the spinner after the button. */
diff --git a/classes/suggested-tasks/providers/class-disable-comments.php b/classes/suggested-tasks/providers/class-disable-comments.php
index d9fdf364a..6631fc3c8 100644
--- a/classes/suggested-tasks/providers/class-disable-comments.php
+++ b/classes/suggested-tasks/providers/class-disable-comments.php
@@ -144,8 +144,8 @@ public function print_popover_instructions() {
*/
public function print_popover_form_contents() {
?>
-
-
print_submit_button( \__( 'Set date format', 'progress-planner' ) );
+ $this->print_submit_button( \__( 'Set date format', 'progress-planner' ), 'prpl-steps-nav-wrapper-align-left' );
}
/**
diff --git a/classes/suggested-tasks/providers/class-site-icon.php b/classes/suggested-tasks/providers/class-site-icon.php
index 435a04f30..7bf34c85f 100644
--- a/classes/suggested-tasks/providers/class-site-icon.php
+++ b/classes/suggested-tasks/providers/class-site-icon.php
@@ -120,7 +120,7 @@ public function print_popover_form_contents() {
-
+
>
diff --git a/classes/suggested-tasks/providers/class-tasks-interactive.php b/classes/suggested-tasks/providers/class-tasks-interactive.php
index 97f721201..9e3c3a54f 100644
--- a/classes/suggested-tasks/providers/class-tasks-interactive.php
+++ b/classes/suggested-tasks/providers/class-tasks-interactive.php
@@ -211,15 +211,18 @@ public function print_popover_instructions() {
*
* @param string $button_text The text for the button.
* If empty, the default text "Submit" will be used.
+ * @param string $css_class The CSS class for the wrapper.
*
* @return void
*/
- protected function print_submit_button( $button_text = '' ) {
+ protected function print_submit_button( $button_text = '', $css_class = '' ) {
if ( empty( $button_text ) ) {
$button_text = \__( 'Submit', 'progress-planner' );
}
+
+ $css_class = empty( $css_class ) ? 'prpl-steps-nav-wrapper' : 'prpl-steps-nav-wrapper ' . $css_class;
?>
-