dropdown menu item words spilling out of styled button

2 Replies
lafayette
lafayette13mo ago
why does graphene msg come out of the button...? can someone help me pls
Chris Bolson
Chris Bolson13mo ago
I think that it is related to your using a percentage as the padding on the "a" elements. On your ".dropdown-content a" selector if you change this line: padding: 10px; /* spacing between each button*/ for this: padding: 10px; /* spacing between each button*/ In general I wouldn't recommend using percentages for this sort of thing. You would be better off using pixels or rems (other units are available).
Want results from more Discord servers?
Add your server