-
I really like the content tab functionality however if I dont then put it within an admonition or perhaps just a simple code block on each tab I find it difficult when reading to see which content is part of a tab and which is part of the main text (see examples below). Is there some way to create a box around the tab contents to make it easier to see what is tabbed content vs main text? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
You can add a |
Beta Was this translation helpful? Give feedback.
-
Sorry for being late to the party, but I'm curious to know what you ended up doing. I have found myself wanting to do the same thing. |
Beta Was this translation helpful? Give feedback.
-
I am putting a box around tabbed environments for the same reason using this extra CSS: .md-typeset .tabbed-set {
border: 0.5px solid lightgray;
}
.md-typeset .tabbed-content {
padding-left: 1rem;
padding-right: 1rem;
} Note that I am not we web designer, so this can probably be improved. The result looks like this: |
Beta Was this translation helpful? Give feedback.
I am putting a box around tabbed environments for the same reason using this extra CSS:
Note that I am not we web designer, so this can probably be improved. The result looks like this: