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;

View File

@ -7,7 +7,6 @@ module.exports = {
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'../packages/react/src/**/*.{html,js,jsx,md,mdx,ts,tsx}',
'../packages/codemirror/slider.mjs',
],
theme: {
extend: {