Hi!
I have made my own theme in Vaadin by using CSS. But when I try with my mobile then it looks very bad compared to my computer screen.
So I solved this by using the annotation in CSS
@media screen and (max-width: 500px) {
// Your CSS classes here
}
It works great…for my phone only. So now I want to disable Vaadin response view and accept computer screen onto my phone screen. That it at least the best thing I can do.
I have my own theme, as I said. But how can I disable the responsive view in Vaadin?
@Viewport("width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes, viewport-fit=cover")
@PWA(name = "Hemsida", shortName = "Hem")
@Route("")
@CssImport("./CSS/Hem.css")
public class Hem extends AppLayout {