Skip to content

How to have maximum height for the tasks query (and it is scrollable)? #1701

Answered by claremacrae
HynDuf asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HynDuf
Comment options

@claremacrae
Comment options

Answer selected by HynDuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: rendering of tasks How the plugin displays tasks, including search results (except CSS issues)
2 participants