How do I create cards/callouts of the same height and positioned next to each other? #9213
-
DescriptionIn Jupyter Book, I can start a page with an overview of important information laid out next to each other horizontally using a grid of cards: I can't seem to find something similar in Quarto. The closest I have gotten is using As you can see in the image, there are a few significant issues:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
|
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. This being said you can add any arbitrary attributes You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.





Thanks for mentioning
grid, this is what I was asking about in my question and seems much closer to how it is done in JupyterLab. Note that it still has the issue with the content not stretching to fill the grid. I'm not a web developer and it usually takes quite some time to figure out how to do HTML/CSS customization which is why I use Quarto/JupyterBook instead of web frameworks directly. After some fiddling it seems like all that is needed is to setdisplay:flexon the grid columns; I think this would be a convenient default for quarto to set on all grids if possible similar to how it is done in JupyterBook. I'm including the setup that worked for me below if someone else comes acrossβ¦