Frontend: Task List Visual Improvements #2264

Merged
konrad merged 4 commits from Elscrux/vikunja:feature/improved-task-lists into main 2024-04-11 15:46:45 +00:00
2 changed files with 8 additions and 2 deletions

View File

@ -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;

View File

@ -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('\\', '/')
Review

👋 Hey @Elscrux:

out of interest: what was the replacement of '\' with '/' for?

👋 Hey @Elscrux: out of interest: what was the replacement of '\\' with '/' for?
Review

This was required to make the build work locally on my machine. Otherwise the files couldn't be read apparently.

This was required to make the build work locally on my machine. Otherwise the files couldn't be read apparently.
Review

Thanks.
Was there a file path displayed that caused this error?

I'm asking because I remember that the path of some imported component contained //. I fixed that just recently (can't find commit right now, but if necessary I can look it up).

Thanks. Was there a file path displayed that caused this error? I'm asking because I remember that the path of some imported component contained `//`. I fixed that just recently (can't find commit right now, but if necessary I can look it up).
Review

I'm afraid I don't remember the error

I'm afraid I don't remember the error
// 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