File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ This is an example paragraph.
51
51
[example]
52
52
This is an example paragraph.
53
53
54
- .Summary
54
+ .Summary *Spoiler Alert!*
55
55
[%collapsible]
56
56
====
57
57
Details.
Original file line number Diff line number Diff line change @@ -647,7 +647,8 @@ h1.page + aside.toc.embedded {
647
647
}
648
648
649
649
.doc details > summary {
650
- display : flex;
650
+ display : block;
651
+ position : relative;
651
652
line-height : var (--doc-line-height );
652
653
margin-bottom : 0.5rem ;
653
654
}
@@ -658,8 +659,8 @@ h1.page + aside.toc.embedded {
658
659
border-left-color : currentColor;
659
660
border-width : 0.3em 0 0.3em 0.5em ;
660
661
position : absolute;
661
- margin- top: calc ((var (--doc-line-height ) * 0.5 - 0.3 ) * 1em );
662
- margin- left: -1.25rem ;
662
+ top : calc ((var (--doc-line-height ) * 0.5 - 0.3 ) * 1em );
663
+ left : -1.25rem ;
663
664
transform : translateX (25% );
664
665
}
665
666
@@ -674,8 +675,8 @@ h1.page + aside.toc.embedded {
674
675
width : 1.25rem ;
675
676
height : 1em ;
676
677
position : absolute;
677
- margin- top: calc ((var (--doc-line-height ) * 0.5 - 0.5 ) * 1em );
678
- margin- left: -1.25rem ;
678
+ top : calc ((var (--doc-line-height ) * 0.5 - 0.5 ) * 1em );
679
+ left : -1.25rem ;
679
680
}
680
681
681
682
.doc details .result {
You can’t perform that action at this time.
0 commit comments