From 6de92d8fff913ef02d81cdb44a50710797b19730 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 17 Jul 2020 16:07:32 +0200 Subject: [PATCH] Fixed erroneous top margin for non-highlighted tabbed content --- src/assets/stylesheets/extensions/pymdown/_tabbed.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assets/stylesheets/extensions/pymdown/_tabbed.scss b/src/assets/stylesheets/extensions/pymdown/_tabbed.scss index e7f0c96d8..8de422edd 100644 --- a/src/assets/stylesheets/extensions/pymdown/_tabbed.scss +++ b/src/assets/stylesheets/extensions/pymdown/_tabbed.scss @@ -35,6 +35,7 @@ box-shadow: 0 px2rem(-1px) var(--md-default-fg-color--lightest); // Mirror old superfences behavior, if there's only a single code block. + > pre:only-child, > .codehilite:only-child pre, > .codehilitetable:only-child, > .highlight:only-child pre,