diff --git a/app/templates/element/form/infoDiv/status.php b/app/templates/element/form/infoDiv/status.php index 1160cdc3b..beac2e084 100644 --- a/app/templates/element/form/infoDiv/status.php +++ b/app/templates/element/form/infoDiv/status.php @@ -47,16 +47,14 @@ $linkHtml .= ' ' . $this->Html->link( $link['label'], $link['url'], - $link + ['class' => 'btn btn-sm btn-primary inline-form-button'] ); } else { // Make $status the link $linkHtml = $this->Html->link( $status, - $link['url'], - // Pass whatever other args are specified - $link + $link['url'] ); } } diff --git a/app/webroot/css/co-base.css b/app/webroot/css/co-base.css index 01f31f71d..f6e88bb6a 100644 --- a/app/webroot/css/co-base.css +++ b/app/webroot/css/co-base.css @@ -1665,6 +1665,10 @@ ul.form-list li.fields-submit .field-info { display: flex; gap: 1em; } +ul.form-list .btn.inline-form-button { + padding: 0.25rem 0.75rem; + margin-left: 1rem; +} ul.field-children { margin: 0.5em; padding: 0;