Skip to content

Commit

Permalink
chore: cleaned up white piano key styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Jan 1, 2024
1 parent 7643be6 commit f6cc19a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/PianoKeys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ interface PianoKeyProps {
export const WhitePianoKey = ({ note, playNote }: PianoKeyProps) => {
return (
<button
className="border border-black rounded-sm bg-color-white active:scale-95 hover:bg-gray-100"
style={{ width: "3rem", height: "12rem" }}
className="border border-black rounded-sm bg-color-white active:scale-95 hover:bg-gray-100 w-10 md:w-12 h-32 md:h-56"
data-note={note}
onClick={(event) => {
const { note } = event.currentTarget.dataset;
Expand Down

0 comments on commit f6cc19a

Please sign in to comment.