File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,7 @@ nav {
337
337
--side-gutter-width
338
338
);
339
339
column-gap : var (--component-gap );
340
+ align-items : start;
340
341
}
341
342
}
342
343
788
789
789
790
/* tables */
790
791
table {
792
+ position : relative;
793
+ z-index : -1 ;
794
+
791
795
td {
792
796
padding : var (--table-row-space-between ) 0 ;
793
797
}
@@ -882,6 +886,11 @@ blockquote p:last-child {
882
886
margin : 0 auto;
883
887
}
884
888
889
+ blockquote .side-callout {
890
+ grid-column : 2 !important ;
891
+ grid-row : span 2 ;
892
+ }
893
+
885
894
/* Tabs */
886
895
887
896
.tabs-container {
Original file line number Diff line number Diff line change
1
+ {{ $class := .Get 0 }}
2
+ {{ $sideOption := "side-callout" }}
3
+ {{ $inlineOption := "inline-callout" }}
4
+
5
+ <!-- Add default option for callouts that are "inline" if one is not provided -->
6
+ {{ if and (not (strings.Contains $class $inlineOption)) (not (strings.Contains $class $sideOption)) }}
7
+ {{ $class = printf "%s %s" $class $inlineOption }}
8
+ {{ end }}
9
+
1
10
<!-- Blockquote element with a class that is the first parameter passed to the shortcode -->
2
- < blockquote class ="{{ .Get 0 }} ">
11
+ < blockquote class ="{{ $class }} ">
3
12
< div >
4
13
<!-- Check if the third parameter (icon class) is provided -->
5
14
{{ with .Get 2 }}
You can’t perform that action at this time.
0 commit comments