With padding 0px, why does a button display differently in Edge than in Blazor Webview?

49 Views Asked by At

I would like to make a button that has the same look in Edge than in Blazor Webview. I have set the following css for the buttons.

button{
cursor: pointer;
border-radius: 0px;
font-size: 1rem;
font-family:Arial;
padding: 0px;
margin: 0px;}

Here is what I get in Edge enter image description here And here in Webview enter image description here

Why is the vertical padding not the same?

0

There are 0 best solutions below