From 2ee926023c425b724dcca38584a1419442269baa Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 6 Dec 2022 11:41:51 -0500 Subject: [PATCH] fix translate arg --- src/components/tab-group/tab-group.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tab-group/tab-group.ts b/src/components/tab-group/tab-group.ts index 6a1563640..2b73beee5 100644 --- a/src/components/tab-group/tab-group.ts +++ b/src/components/tab-group/tab-group.ts @@ -337,7 +337,7 @@ export default class SlTabGroup extends ShoelaceElement { case 'end': this.indicator.style.width = 'auto'; this.indicator.style.height = `${height}px`; - this.indicator.style.translate = `${offset.top}px`; + this.indicator.style.translate = `0 ${offset.top}px`; break; } }