Skip to content

Commit 7c8ff38

Browse files
committed
Codeblock: Fix types not overlapping in callout
1 parent 8a9b7fb commit 7c8ff38

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

assets/css/v2/style.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,10 +2019,6 @@ blockquote {
20192019
}
20202020
}
20212021

2022-
.callout-content {
2023-
margin: 0;
2024-
}
2025-
20262022
/* To help them align with text, side callouts should not have top margin*/
20272023
&[data-grid="last-third"] {
20282024
--margin-callout: 0 0 0 1rem;

layouts/partials/callout.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,7 @@
5252

5353
<blockquote class="{{ $class }} note" data-title="{{ $cleanTitle }}" data-grid="{{ $dataGrid }}">
5454
<div class="callout-content">
55-
{{- with $icon -}}
56-
<i class="{{ . }}"></i>
57-
{{- end -}}
58-
<div class="callout-content">
59-
{{ .content | markdownify }}
60-
</div>
55+
{{ .content | markdownify }}
6156
</div>
6257
</blockquote>
6358

0 commit comments

Comments
 (0)