Comments (3)
Hey! The CSS is controlled via the Tailwind classes in the HTML. But you can add CSS into the SCSS if you want to.
You would need to make the container around the articles flex-wrap: wrap
, so they break onto a new line and then make each article to have a set width/flex-basis of 25% - in Tailwind you can use the class w-1/4
. You might need to adjust the margins and padding too.
Not sure about multi-language stuff - you could ask Zach Leatherman who made Eleventy? ;)
from skeleventy.
hi Joseph,
first: Thanks a lot. But I run into problems, which I would like to share.
I modified the blog.njk file at two fields as mentioned.
But that doesn't change it. I couldn't make the line break after 4 Posts, and the images disappeared.
Do you have any advice?
from skeleventy.
It sounds like you have flex-1
still on the articles? Try removing that.
See https://tailwindcss.com/docs/examples/grids/#wrapping-columns
from skeleventy.
Related Issues (20)
- Deprecated [email protected]: core-js@<3 is no longer maintained HOT 1
- Cannot link between pages using VS Code Live Preview in browser HOT 7
- How do I update the TailwindCSS version? HOT 3
- Great project - but unable to deploy to Netlify HOT 5
- Can't find _includes folder HOT 5
- Worth adding a netlify config file! HOT 1
- nunjuck get latest 3 posts HOT 1
- Inconsistency in date formatting filter HOT 1
- Running local serve HOT 1
- Netlify _includes Error
- Changes on main.css not reflected in production HOT 1
- specific categories to sitemap instead of "category:all" HOT 2
- tailwind.config.js changes ignored
- PurgeCSS configured with whitelist HOT 3
- Try to generate new pages HOT 1
- Netlify build error HOT 2
- Issues with M1 and Laravel-Mix HOT 4
- CSS change not reflected in production HOT 5
- No license file HOT 1
- CSS Variables with Gorko HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skeleventy.