Currently, I am tackling the eighth part of the Vaadin Tutorial series.
Watch the video here: https://www.youtube.com/watch?v=ttuBu8dYNn0
For the text version, visit:
I am currently facing a challenge with the final step of importing the provided CSS file. Despite following the tutorial closely, the form style remains unchanged. It appears that the CSS file is not taking effect.
Running on Vaadin Version 14.4.2
Here is a snapshot of my project folder including the MainView:
https://i.sstatic.net/YEZ7u.png
CSS File:
/* List view */
.list-view .content {
display: flex;
}
.list-view .contact-grid {
flex: 2;
}
.list-view .contact-form {
flex: 1;
padding: var(--lumo-space-m);
}
@media all and (max-width: 1100px) {
.list-view.editing .toolbar,
.list-view.editing .contact-grid {
display: none;
}
}
This is how my web app currently looks like:
https://i.sstatic.net/x1BJS.png
But it should actually resemble this: