I'm currently working on a JavaScript calculator project and I'm having trouble making it responsive. Specifically, when the screen size decreases, the buttons in the calculator are not displaying properly, especially the operator buttons.
I would like to increase the width of the .calculator element slightly when the screen size is smaller so that all the buttons are visible.
Here's the CodePen link where I've been working on this: https://codepen.io/tanjimanim/pen/jOwoYrV?editors=0110
Below is the media query code I've written:
@media screen and (min-device-width: 320px) and (max-device-width: 630px) {
.calculator {
width: 60%;
}
}