0

Why Button width doesn’t work?(Ihave ios device)code is here

https://code.sololearn.com/WzwkHoE1BDa3/?ref=app

21st Feb 2021, 8:11 AM
Coder21
Coder21 - avatar
5 odpowiedzi
+ 3
It works. The extra space is the padding space. Try padding: 0;
21st Feb 2021, 8:23 AM
Calviղ
Calviղ - avatar
+ 1
default padding of button comes from browser styling defaut (to get some spaces around button text label)...
21st Feb 2021, 9:58 AM
visph
visph - avatar
0
try width: without max-
21st Feb 2021, 8:20 AM
Gabriele Giambrone
Gabriele Giambrone - avatar
0
with max he may also have another width
21st Feb 2021, 8:21 AM
Gabriele Giambrone
Gabriele Giambrone - avatar
0
Calviղ button has padding by default yes?where it comes from?
21st Feb 2021, 8:33 AM
Coder21
Coder21 - avatar