fix: text wrapping (#128)

This commit was merged in pull request #128.
This commit is contained in:
2026-01-25 10:21:12 +00:00
committed by Gitea
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ pub(crate) fn ProjectList() -> Element {
div {
key: "{project.id}",
class: format!(
"px-7 py-4 select-none {}",
"px-7 py-4 select-none {} text-pretty wrap-anywhere",
if project_being_edited().is_some_and(|p| p.id == project.id) {
"bg-zinc-700"
} else { "" }

View File

@@ -18,7 +18,7 @@ pub(crate) fn TaskListItem(task: TaskWithSubtasks) -> Element {
div {
class: "pt-0.75 flex flex-col",
div {
class: "grow font-medium",
class: "grow font-medium text-pretty wrap-anywhere",
{task.task.title}
},
div {