mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
fix translate arg
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user