Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The news block needs to be rebuilt #472

Open
dakaza98 opened this issue Oct 19, 2020 · 0 comments
Open

The news block needs to be rebuilt #472

dakaza98 opened this issue Oct 19, 2020 · 0 comments
Labels
enhancement Medium Medium priority

Comments

@dakaza98
Copy link
Member

If you have more than 3 news in the news block, the layout looks weird. The news items are aligned to the right and overlap with each other.

We are going to rebuild this with the css grid component so that the news are placed more even and will look good no matter how many news you choose to have. https://www.w3schools.com/css/css_grid.asp

The grid should still display 3 items next to each other before placing the next on a new line i.e. it will be 3 items wide.

Also, the news block should be moved inside the section block so that you can apply margins to it. This requires you to make a manual migration since you will change how the data for news blocks are stored in the database. https://docs.djangoproject.com/en/3.1/topics/migrations/

@dakaza98 dakaza98 added enhancement Medium Medium priority labels Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant