Skip to content

Commit

Permalink
use raw css instead of tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Oct 1, 2023
1 parent f84d5ba commit d4bf358
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/codemirror/slider.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion website/tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit d4bf358

Please sign in to comment.