Skip to content

Commit 867efe1

Browse files
committed
fix: add padding to tab content when not only displaying a code block
1 parent aae3763 commit 867efe1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/styles/app.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,3 +981,11 @@ mark {
981981
.framework-code-block > .codeblock {
982982
@apply my-4;
983983
}
984+
985+
/* Tab content - add padding when it's not just a code block */
986+
[data-tab]:not(:has(> .codeblock:only-child)) {
987+
@apply px-4;
988+
}
989+
990+
991+

0 commit comments

Comments
 (0)