diff --git a/components/navbar/ProjectNavbar.module.css b/components/navbar/ProjectNavbar.module.css index e6f8871e..3e6e5d17 100644 --- a/components/navbar/ProjectNavbar.module.css +++ b/components/navbar/ProjectNavbar.module.css @@ -91,27 +91,6 @@ background-color: var(--secondary-hover); } -/* The "leave edit mode" checkmark: a filled pill that reads as the primary - * action of the edit-mode island, standing apart from the ghost undo/redo icons - * beside it via the inverted text colour. */ -.edit_done { - color: var(--main-bg); - background-color: var(--primary-text); -} - -/* The global `svg { color: var(--primary-text) }` rule targets the icon element - * directly, so it overrides the inverted `color` inherited from this pill and - * paints the checkmark the same shade as the pill's background (invisible in - * dark mode). Re-inherit the button's colour so the icon stays legible. */ -.edit_done svg { - color: inherit; -} - -.edit_done:hover { - background-color: var(--primary-text); - opacity: 0.85; -} - @media (max-width: 767px) { .container { /* Push the bar below the status bar / Dynamic Island. --navbar-height diff --git a/components/navbar/ProjectNavbarMobile.tsx b/components/navbar/ProjectNavbarMobile.tsx index 6bae196f..283dbd4e 100644 --- a/components/navbar/ProjectNavbarMobile.tsx +++ b/components/navbar/ProjectNavbarMobile.tsx @@ -97,7 +97,7 @@ const ProjectNavbarMobile = () => { keeps the left side empty. */} {isInProject && projectId && mobileEditMode && (