How to have maximum height for the tasks query (and it is scrollable)? #1701
-
As sometimes the queries can be really long, I want to have maximum height for the tasks query (and it is scrollable). How can I tweak the CSS to make this work? Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Answered by
claremacrae
Feb 27, 2023
Replies: 1 comment 2 replies
-
Hi, I don't know the full answer, but here is an Obsidian snippet that can be used to add a blue border around Tasks results blocks. /* Make Tasks code blocks stand out visually, to distinguish them from Task lists in Reading mode */
.block-language-tasks {
padding: 5px 15px;
border: 2px solid var(--color-blue);
border-radius: 5px;
margin: 1em 0;
} So if you can find someone to show you how to limit the height of a code block so it shows a scroll bar, then you could adjust the contents |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
HynDuf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I don't know the full answer, but here is an Obsidian snippet that can be used to add a blue border around Tasks results blocks.
So if you can find someone to show you how to limit the height of a code block so it shows a scroll bar, then you could adjust the contents