Skip to content

Commit

Permalink
increase clickable area and add hover effect for "back to dashboard" …
Browse files Browse the repository at this point in the history
…link in project form pages
  • Loading branch information
juancwu committed Feb 5, 2025
1 parent 7e05dfa commit 5b510e3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ function RouteComponent() {
<nav className="fixed top-0 left-0 right-0 z-50 bg-white h-24 border-b border-gray-300">
<ul className="flex items-center pl-4 h-full">
<li>
<Link to="/admin/dashboard">
<Link
to="/admin/dashboard"
className="transition p-2 inline-block rounded-lg hover:bg-gray-100"
>
<div className="flex items-center gap-2">
<span>
<IoMdArrowRoundBack />
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/pages/user/_auth/project/$projectId.form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,10 @@ function ProjectFormPage() {
<nav className="fixed top-0 left-0 right-0 z-50 bg-white h-24 border-b border-gray-300">
<ul className="flex items-center pl-4 h-full">
<li>
<Link to="/user/dashboard">
<Link
to="/user/dashboard"
className="transition p-2 inline-block rounded-lg hover:bg-gray-100"
>
<div className="flex items-center gap-2">
<span>
<IoMdArrowRoundBack />
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/pages/user/_auth/project/$projectId.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ function RouteComponent() {
<nav className="fixed top-0 left-0 right-0 z-50 bg-white h-24 border-b border-gray-300">
<ul className="flex items-center pl-4 h-full">
<li>
<Link to="/user/dashboard">
<Link
to="/user/dashboard"
className="transition p-2 inline-block rounded-lg hover:bg-gray-100"
>
<div className="flex items-center gap-2">
<span>
<IoMdArrowRoundBack />
Expand Down

0 comments on commit 5b510e3

Please sign in to comment.