From 2c5567cba49a7dfe0c5438cb03b76f9fbd6d842e Mon Sep 17 00:00:00 2001 From: BenniEngel Date: Fri, 15 Nov 2024 15:43:39 +0100 Subject: [PATCH] fix/style: adjusted the primary buttons position if it is the only one in the action group --- .../src/components/ActionGroup/ActionGroup.module.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/components/src/components/ActionGroup/ActionGroup.module.scss b/packages/components/src/components/ActionGroup/ActionGroup.module.scss index 381cd4cdc..e1896f87a 100644 --- a/packages/components/src/components/ActionGroup/ActionGroup.module.scss +++ b/packages/components/src/components/ActionGroup/ActionGroup.module.scss @@ -5,6 +5,10 @@ order: 3; } + .primary:only-child { + margin-left: auto; + } + .secondary { order: 2; }