Skip to content

Commit 70c030e

Browse files
committed
Added down icon for tags drop down and fix btn's styling.
1 parent 879716e commit 70c030e

4 files changed

Lines changed: 41 additions & 1 deletion

File tree

FUN/frontend/src/components/Notes.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { useAuth } from '../context/AuthContext';
33
import { getNotes, createNote, updateNote, deleteNote, createCategory } from '../services/api';
44
import AddNoteModal from './AddNoteModal';
55
import '../styles/Dashboard.css';
6+
import {ChevronDown} from "lucide-react"
67

78
const Notes = ({ categories, onUpdate, showForm, setShowForm }) => {
89
const { user } = useAuth();
@@ -174,7 +175,7 @@ const Notes = ({ categories, onUpdate, showForm, setShowForm }) => {
174175
</button>
175176
))}
176177
<button className="filter-btn tags-btn">
177-
Tags <span></span>
178+
Tags <ChevronDown size={14}/>
178179
</button>
179180
</div>
180181
</div>

FUN/frontend/src/styles/Dashboard.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
}
4040

4141
.filter-btn {
42+
display: flex;
43+
align-items: center;
44+
gap: 6px;
4245
padding: 8px 16px;
4346
background: white;
4447
border: 1px solid #ddd;

package-lock.json

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"lucide-react": "^1.8.0"
4+
}
5+
}

0 commit comments

Comments
 (0)