diff --git a/twenty-frontend/src/css/main.scss b/twenty-frontend/src/css/main.scss index 5a0b1b0..730ed13 100644 --- a/twenty-frontend/src/css/main.scss +++ b/twenty-frontend/src/css/main.scss @@ -20,7 +20,6 @@ body { .hover-bg-secondary { &:hover { @extend .no-underline; - @extend .p-3; @extend .rounded; @extend .bg-secondary; @extend .text-primary; @@ -30,3 +29,14 @@ body { } } } + +.active-item { + @extend .no-underline; + @extend .rounded; + @extend .bg-secondary; + @extend .text-primary; + a { + @extend .text-primary; + @extend .no-underline; + } +} diff --git a/twenty-frontend/src/js/components/NavBar.tsx b/twenty-frontend/src/js/components/NavBar.tsx index 3332c1f..a4d0c97 100644 --- a/twenty-frontend/src/js/components/NavBar.tsx +++ b/twenty-frontend/src/js/components/NavBar.tsx @@ -1,6 +1,5 @@ import React, { useState } from "react"; import { Maybe } from "/types/schema"; -import classnames from "classnames"; const BASE_CLASSNAMES = ["block", "w-3/4", "no-underline", "p-3", "mt-2"]; const ACTIVE_CLASSNAMES = [ diff --git a/twenty-frontend/src/js/components/Task.tsx b/twenty-frontend/src/js/components/Task.tsx index f67abea..f6c710e 100644 --- a/twenty-frontend/src/js/components/Task.tsx +++ b/twenty-frontend/src/js/components/Task.tsx @@ -73,26 +73,6 @@ export function Task({ taskId }: { taskId?: number }) {

{task ? "Edit task" : "New task"}

-