mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 03:32:26 +08:00
feat(admonitions): apply basic styling & configure for paragraphs
This commit is contained in:
parent
10de4e798b
commit
adf5bee98f
@ -105,7 +105,7 @@ export function buildConfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function buildStyleDefinitions() {
|
function buildStyleDefinitions() {
|
||||||
const element = "blockquote";
|
const element = "p";
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
name: "Note",
|
name: "Note",
|
||||||
|
@ -1708,7 +1708,10 @@ footer.file-footer button {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ck-content .admonition {
|
body.desktop .ck-content .admonition {
|
||||||
box-shadow: var(--card-box-shadow);
|
box-shadow: var(--card-box-shadow);
|
||||||
|
border-radius: 0.5em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
margin: 1.25em 0;
|
||||||
|
margin-right: 14px;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user