Skip to content

Commit

Permalink
add x margin to nav bar list elements
Browse files Browse the repository at this point in the history
  • Loading branch information
3campos authored Apr 7, 2024
1 parent 2b76618 commit e0b60fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NavigationBarSingleList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function NavigationBarSingleList({

return (
<li
className={`flex-grow justify-between xsm:px-4 sm:px-2 h-12 bg-list rounded-lg shadow-sm mt-4 hover:bg-[#ebf5ff] hover:bg-opacity-85 ${windowLocationListPath && localStorageListName === name ? 'bg-[#ebf5ff] bg-opacity-85' : null}`}
className={`flex-grow justify-between xsm:px-4 sm:px-2 h-12 bg-list rounded-lg shadow-sm mt-4 hover:bg-[#ebf5ff] hover:bg-opacity-85 mx-1 ${windowLocationListPath && localStorageListName === name ? 'bg-[#ebf5ff] bg-opacity-85' : null}`}
>
{/*The above hex code (#ebf5ff) only worked in the ternary operator in lowercase format, not uppercase.*/}
{/* Using Link instead of button */}
Expand Down

0 comments on commit e0b60fb

Please sign in to comment.