diff --git a/frontend/src/components/input/editor/TipTap.vue b/frontend/src/components/input/editor/TipTap.vue index af4da5455..54dfcf2df 100644 --- a/frontend/src/components/input/editor/TipTap.vue +++ b/frontend/src/components/input/editor/TipTap.vue @@ -891,8 +891,14 @@ ul[data-type='taskList'] { padding: 0; margin-left: 0; + li[data-checked='true'] { + color: var(--grey-500); + text-decoration: line-through; + } + li { display: flex; + margin-top: 0.25rem; > label { flex: 0 0 auto; diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 31728a961..9f4cbca12 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -17,11 +17,11 @@ import postcssEasings from 'postcss-easings' import postcssEasingGradients from 'postcss-easing-gradients' -const pathSrc = fileURLToPath(new URL('./src', import.meta.url)) +const pathSrc = fileURLToPath(new URL('./src', import.meta.url)).replaceAll('\\', '/') // the @use rules have to be the first in the compiled stylesheets const PREFIXED_SCSS_STYLES = `@use "sass:math"; -@import "${pathSrc}/styles/common-imports";` +@import "${pathSrc}/styles/common-imports.scss";` const isModernBuild = Boolean(process.env.BUILD_MODERN_ONLY) const legacy = isModernBuild