next.js app doesn't look the same as it looks in the local environment #42982
-
|
This is the desired output: https://sampathmotors.vercel.app I'm stuck on this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
At least when it comes to the .btn {
align-items: center;
border-radius: 0.5em;
color: #000;
cursor: pointer;
display: flex;
font-family: Fira Sans,sans-serif;
font-weight: bolder;
height: 40px;
justify-content: center;
opacity: 62%;
width: 130px;
}The funny part is that I see them here: https://github.com/lithika-damnod/ecommerce-nextjs/blob/master/styles/Button.module.css That in turn made me check the source code, and I found a floating Which made look into the Hero module, which at the last line, https://github.com/lithika-damnod/ecommerce-nextjs/blob/master/styles/Hero.module.css#L137, does indeed have a floating I removed it,
|
Beta Was this translation helpful? Give feedback.
-
|
thank you very much .. @icyJoseph ( it worked 🙌 ) |
Beta Was this translation helpful? Give feedback.

At least when it comes to the
.btnclass a bunch of properties are missing on e-commerce site:The funny part is that I see them here: https://github.com/lithika-damnod/ecommerce-nextjs/blob/master/styles/Button.module.css
That in turn made me check the source code, and I found a floating
;in line 300.Which made look into the Hero module, which at the last line, https://github.com/lithika-damnod/ecommerce-nextjs/blob/master/st…