Skip to content

Commit

Permalink
lint complaints; doc
Browse files Browse the repository at this point in the history
  • Loading branch information
oberhamsi committed Feb 28, 2024
1 parent 913d3f0 commit e7f1467
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/scss/skin-modern/components/_seekbarlabel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
}
}
}
// disable position arrow if seekbar label was
// moved due to overflow
&[style*="transform"] {

// move arrow if the seekbar label was offset too
&[style*='transform'] {
.#{$prefix}-seekbar-label-inner {
&::after {
transform: translateX(calc(1px * var(--bmpui-seekbar-label-overflow-offset)));
Expand Down
2 changes: 1 addition & 1 deletion src/ts/components/seekbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ export class SeekBar extends Component<SeekBarConfig> {
}
if (preventOverflowOffset) {
labelDomElement.css({
transform: `translateX(${-preventOverflowOffset}px)`
transform: `translateX(${-preventOverflowOffset}px)`,
});
labelDomElement.get(0).style.setProperty(`--${this.prefixCss('seekbar-label-overflow-offset')}`, String(preventOverflowOffset));
}
Expand Down

0 comments on commit e7f1467

Please sign in to comment.