bolt / themes

Themes - a separate repository of themes included with the Bolt distribution
MIT License
24 stars 19 forks source link

base-2021/listing.twig is not positioning properly because of flex-wrap #72

Open Joossensei opened 2 years ago

Joossensei commented 2 years ago

In Bolt 5 the taxonomy and date published arent getting positioned correctly like it did in Bolt 4. This is because of a change of behaviour in flex-wrap between the 2 versions.

Bolt 4:

Screenshot 2021-10-27 at 11 50 46

Bolt 5:

Screenshot 2021-10-27 at 11 50 11
bobdenotter commented 2 years ago

Is this perhaps because of a Tailwind update that happened between the two versions? 🤔 💭

Joossensei commented 2 years ago

Yes I think so because the pager also broke on a piece of tailwind code. https://github.com/bolt/core/pull/2891

Joossensei commented 2 years ago

Could be fixed by removing the two flex-wrap classes here (Or leave the flex-no-wrap but this has no css linked to it): https://github.com/bolt/themes/blob/528ecbf21e0e4d61b1fefac243db3277ce6ee69f/base-2021/listing.twig#L39

But I dont know if it has any consequences for the rest of the theme

bobdenotter commented 2 years ago

Let's have @Dsduit take a look at this! He built the theme, after all. ;-)