I have added my logo in navbar and it seems like next js is adding css automatically to that element
Here is what I got on inspecting the element
element.style {
position: absolute;
width: 0px;
display: block;
margin: auto;
inset: 0px;
box-sizing: border-box;
padding: 0px;
border: none;
height: 0px;
min-width: 100%;
max-width: 100%;
min-height: 100%;
max-height: 100%;
}
Where as the style I added was
const fav = {
width: "35px",
display: "inline",
marginTop: "-2.3px",
};
<Image style={fav} width="30rem" height="30rem" src={logo2} alt="Logo" />
Any further requirement I will provide