Howto Vertical tabs ? + HowTo Vertical inside Horizontal tabs and vice-versa. #42
-
Hi. Howto vertical instead of horizontal layout? And howto tabs (h|v) inside another tabs and vice versa ? Best regards, Tshitshi |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
like this |
Beta Was this translation helpful? Give feedback.
-
Nested tabs works but the style needs to be tweaked. ::::tabs
=== outer tab a
:::tabs
== inner tab a
foo
== inner tab b
bar
:::
=== outer tab b
b content
:::: Vertical tabs should be possible by adding a custom style. |
Beta Was this translation helpful? Give feedback.
-
A solution needing improvment. As you can see, the result is not exactly what expected. The tab-list should be flex-direction:column. But ... there is some conflicting style or the rule is not specific enough. Putting the style directly in the generated html, produces the correct result
plugin-tabs Outer plugin-tabs--tab-list Can you help to optimize the solution , please ? An enhancement should be a way to set the vertical class attribute directly on the markdown. Something like this Thank you for your help. Best regards, Tshitshi |
Beta Was this translation helpful? Give feedback.
-
Excellent! Thank you for your help. Best regards, Tshitshi |
Beta Was this translation helpful? Give feedback.
You can wrap it in a div instead like this.
https://stackblitz.com/edit/vite-ifm42v?file=docs%2Findex.md