Skip to content

Commit ef072ee

Browse files
committed
feat: Added side callout CSS
1 parent ed12068 commit ef072ee

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

assets/css/v2/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ nav {
328328
--side-gutter-width
329329
);
330330
column-gap: var(--component-gap);
331+
align-items: start;
331332
}
332333
}
333334

@@ -863,6 +864,11 @@ blockquote p:last-child {
863864
margin: 0 auto;
864865
}
865866

867+
blockquote.side-callout {
868+
grid-column: 2 !important;
869+
grid-row: span 2;
870+
}
871+
866872
/* Tabs */
867873
.nav-tabs {
868874
list-style: none;

layouts/shortcodes/call-out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- Blockquote element with a class that is the first parameter passed to the shortcode -->
2-
<blockquote class="{{ .Get 0 }}">
2+
<blockquote class="{{ .Get 0 }} side-callout">
33
<div>
44
<!-- Check if the third parameter (icon class) is provided -->
55
{{ with .Get 2 }}

0 commit comments

Comments
 (0)