Skip to content

Commit

Permalink
fix: button content
Browse files Browse the repository at this point in the history
  • Loading branch information
souvikjs01 committed Aug 22, 2024
1 parent f913fcb commit a6d2367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
6 changes: 3 additions & 3 deletions components/Dropdown/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ function Dropdown({ active, items, setOptions, setOptions2 }) {
<div className='w-full'>
<button
type='button'
className='flex justify-between text-white p-4 w-full justify-center gap-x-1.5 shadow-sm card-bg hover:bg-gray-50 gradient-bg no-border rounded-md'
className='flex text-white justify-center items-center p-4 w-full gap-x-1.5 shadow-sm card-bg hover:bg-gray-50 gradient-bg no-border rounded-md'
id='menu-button'
aria-expanded='true'
aria-haspopup='true'
onClick={() => setShow(true)}
onClick={() => setShow(status => !status)}
>
<div>{active}</div>
<svg
className='-mr-1 h-5 w-5 text-gray-400'
className='-mr-1 h-5 w-5 text-gray-600'
viewBox='0 0 20 20'
fill='currentColor'
aria-hidden='true'
Expand Down
34 changes: 0 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a6d2367

Please sign in to comment.