From d4bf358eae42ccbd78e1c6b9df81f9f1bba44d8c Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 1 Oct 2023 13:56:57 +0200 Subject: [PATCH] use raw css instead of tailwind --- packages/codemirror/slider.mjs | 2 +- website/tailwind.config.cjs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/codemirror/slider.mjs b/packages/codemirror/slider.mjs index 47bb7509f..e7be78f7c 100644 --- a/packages/codemirror/slider.mjs +++ b/packages/codemirror/slider.mjs @@ -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; diff --git a/website/tailwind.config.cjs b/website/tailwind.config.cjs index 2c682d7d8..d92d5949c 100644 --- a/website/tailwind.config.cjs +++ b/website/tailwind.config.cjs @@ -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: {