diff --git a/packages/calcite-components/src/components/action-pad/action-pad.scss b/packages/calcite-components/src/components/action-pad/action-pad.scss
index 7e5a4946ea9..2ba31ec0583 100755
--- a/packages/calcite-components/src/components/action-pad/action-pad.scss
+++ b/packages/calcite-components/src/components/action-pad/action-pad.scss
@@ -20,8 +20,10 @@
max-inline-size: var(--calcite-action-pad-expanded-max-width, auto);
}
-::slotted(calcite-action-group:not(:last-of-type)) {
- @apply border-b;
+:host([layout="vertical"]) {
+ ::slotted(calcite-action-group:not(:last-of-type)) {
+ @apply border-b;
+ }
}
.container {
diff --git a/packages/calcite-components/src/components/action-pad/action-pad.stories.ts b/packages/calcite-components/src/components/action-pad/action-pad.stories.ts
index fb5968dace0..ad257263e07 100644
--- a/packages/calcite-components/src/components/action-pad/action-pad.stories.ts
+++ b/packages/calcite-components/src/components/action-pad/action-pad.stories.ts
@@ -42,6 +42,27 @@ export const simple = (args: ActionPadStoryArgs): string => html`
`;
+export const withGroups = (): string =>
+ html`
+
+
+
+
+
+
+
+
+ Toggle Action Pad
+ `;
+
export const darkModeRTL_TestOnly = (): string => html`