Two Column Grids #8260
Replies: 3 comments
-
Hi @Lasikiewicz, And you want to make it look like this? Then try to add an empty line between the links to put them inside separate paragraphs. However, I still feel like I'm missing something about your query, as you've made one grid card and added multiple links, so ultimately there is no grid, so currently you're relying on the text font size and text wrapping. If you're using the grid card elements and have 3 columns instead of the wanted 2 then some custom CSS is likely required to add a limiter to 2 columns. https://squidfunk.github.io/mkdocs-material/customization/#additional-css |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply hopefully the image above shows what I am trying to achieve. Middle block is the best example as I want to move the bottom three links to the right making the box smaller. (Obviously the box to the left would be in a row of 5 and 4 so would expand this box) Probably some simple HTML but I'm missing it. |
Beta Was this translation helpful? Give feedback.
-
Using a list inside the grid with float gains the desired results.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using code from the page
https://squidfunk.github.io/mkdocs-material/reference/grids/#list-syntax
I have created this
There are 11 variations of this on the same page with different amounts of "Tests" and show in groups of 3 due to screen size.
Is it possible to split the grid further?
For example the above would render
-> Test -> Test
-> Test -> Test
-> Test -> Test
Inside that grid box?
Beta Was this translation helpful? Give feedback.
All reactions