improve(pdf): open pdf viewer when click local pdf asset link

This commit is contained in:
charlie
2021-07-23 16:07:45 +08:00
parent f62d3c038d
commit 922d5a5bce
4 changed files with 31 additions and 11 deletions

View File

@@ -305,6 +305,20 @@
}
}
.asset-ref {
&.is-pdf {
&:before {
content: "[[📙";
opacity: .4;
}
&:after {
content: "]]";
opacity: .4;
}
}
}
body[data-page] {
#main-content-container {
margin: 0 !important;