Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi all 👋

I'm trying to use the <div class="result"> mechanism to place a summary section after a set of content tabs, but I can't seem to get the visual effect to kick in. I'm using v9.6.20, if that's relevant.

The output I'm looking for is like that demonstrated on https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#grouping-other-content: there's a faint border around the setup and its result, and the result has slight horizontal indentation on both sides.

The difference between that example and my setup is that I have content tabs as the setup block. As an example, here's the rending of that page's example when I move the setup out from its code block by deleting lines 113 and 135 from the example's source:


image

There's no grouping border, and no indentation.

I'm not trying to place tabs-above-tabs (my result is just an untabbed code block), but minimally adapting the reference docs' example seemed the easiest way to demonstrate the issue I'm having!

Is there any way to use <div class="result"> underneath content tabs?

You must be logged in to vote

Replies: 1 comment

Comment options

For info, here's the same lack of result grouping when I further update the reference example and turn the result block into a single, untabbed content block. This is the kind of setup+result content that I'm working with:


image
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.