feat: make the cursor of subtask buttons pointer (#124)
This commit was merged in pull request #124.
This commit is contained in:
@@ -55,7 +55,7 @@ pub(crate) fn SubtasksForm(task: Task) -> Element {
|
|||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
r#type: "submit",
|
r#type: "submit",
|
||||||
class: "py-2 col-span-1 flex flex-row justify-center items-center bg-zinc-800/50 rounded-lg",
|
class: "py-2 col-span-1 flex flex-row justify-center items-center bg-zinc-800/50 rounded-lg cursor-pointer",
|
||||||
Icon {
|
Icon {
|
||||||
icon: FaPlus,
|
icon: FaPlus,
|
||||||
height: 16,
|
height: 16,
|
||||||
@@ -69,7 +69,7 @@ pub(crate) fn SubtasksForm(task: Task) -> Element {
|
|||||||
key: "{subtask.id}",
|
key: "{subtask.id}",
|
||||||
class: "flex flex-row items-center gap-3",
|
class: "flex flex-row items-center gap-3",
|
||||||
button {
|
button {
|
||||||
class: "min-w-6 flex flex-row justify-center items-center text-zinc-400/50",
|
class: "min-w-6 flex flex-row justify-center items-center text-zinc-400/50 cursor-pointer",
|
||||||
onclick: {
|
onclick: {
|
||||||
let subtask = subtask.clone();
|
let subtask = subtask.clone();
|
||||||
move |_| {
|
move |_| {
|
||||||
@@ -132,7 +132,7 @@ pub(crate) fn SubtasksForm(task: Task) -> Element {
|
|||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
r#type: "button",
|
r#type: "button",
|
||||||
class: "py-2 flex flex-row justify-center items-center col-span-1 bg-zinc-800/50 rounded-lg",
|
class: "py-2 flex flex-row justify-center items-center col-span-1 bg-zinc-800/50 rounded-lg cursor-pointer",
|
||||||
onclick: {
|
onclick: {
|
||||||
let subtask = subtask.clone();
|
let subtask = subtask.clone();
|
||||||
move |_| {
|
move |_| {
|
||||||
|
|||||||
Reference in New Issue
Block a user