We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63d03fb commit 0457cedCopy full SHA for 0457ced
src/assets/callout.scss
@@ -1,6 +1,8 @@
1
.callout:not(.admonition) {
2
+ &.drop-shadow {
3
+ box-shadow: 0 0.2rem 0.5rem var(--background-modifier-box-shadow);
4
+ }
5
.no-title {
6
display: none;
7
}
-
-}
8
+}
src/callout/manager.ts
@@ -127,6 +127,9 @@ export default class CalloutManager extends Component {
127
titleContentEl.setText(admonition.title);
128
129
130
+ if (this.plugin.data.dropShadow) {
131
+ callout.addClass('drop-shadow')
132
133
134
getComputedHeights(el: HTMLDivElement): Heights {
135
if (this.heightMap.has(el)) {
0 commit comments