use raw css instead of tailwind

This commit is contained in:
Felix Roos 2023-10-01 13:56:57 +02:00
parent f84d5ba3a0
commit d4bf358eae
2 changed files with 1 additions and 2 deletions

View file

@ -37,7 +37,7 @@ export class SliderWidget extends WidgetType {
slider.from = this.from;
slider.originalFrom = this.originalFrom;
slider.to = this.to;
slider.className = 'w-16 translate-y-1 mr-1';
slider.style = 'width:64px;margin-right:4px;transform:translateY(4px)';
this.slider = slider;
slider.addEventListener('input', (e) => {
const next = e.target.value;