fix translate arg

This commit is contained in:
Cory LaViska
2022-12-06 11:41:51 -05:00
parent 69e557cd8c
commit 2ee926023c

View File

@@ -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;
}
}