From a9708f65354485b16adcbe46749e975aa9011204 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Tue, 2 Feb 2021 14:48:58 +0100 Subject: [PATCH] docs: minor improvements to the demo style --- docs/src/demos/Examples/Book/index.vue | 9 ++++ .../Examples/CollaborativeEditing/index.vue | 9 ++++ docs/src/demos/Examples/Community/index.vue | 9 ++++ docs/src/demos/Examples/Default/index.vue | 9 ++++ docs/src/demos/Examples/Formatting/index.vue | 9 ++++ .../Examples/MarkdownShortcuts/index.vue | 9 ++++ docs/src/demos/Examples/Tables/index.vue | 54 ++++++++++--------- .../demos/Guide/Content/ExportHTML/index.vue | 9 ++++ .../demos/Guide/Content/ExportJSON/index.vue | 9 ++++ 9 files changed, 100 insertions(+), 26 deletions(-) diff --git a/docs/src/demos/Examples/Book/index.vue b/docs/src/demos/Examples/Book/index.vue index 44b31291..1e3a53b5 100644 --- a/docs/src/demos/Examples/Book/index.vue +++ b/docs/src/demos/Examples/Book/index.vue @@ -109,6 +109,15 @@ export default { padding: 0 1rem; } + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.1; + } + code { background-color: rgba(#616161, 0.1); color: #616161; diff --git a/docs/src/demos/Examples/CollaborativeEditing/index.vue b/docs/src/demos/Examples/CollaborativeEditing/index.vue index bba1e2ac..5f962783 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/index.vue @@ -265,6 +265,15 @@ export default { padding: 0 1rem; } + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.1; + } + code { background-color: rgba(#616161, 0.1); color: #616161; diff --git a/docs/src/demos/Examples/Community/index.vue b/docs/src/demos/Examples/Community/index.vue index d64d4a4f..b7bcf223 100644 --- a/docs/src/demos/Examples/Community/index.vue +++ b/docs/src/demos/Examples/Community/index.vue @@ -147,6 +147,15 @@ export default { > * + * { margin-top: 0.75em; } + + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.1; + } } .mention { diff --git a/docs/src/demos/Examples/Default/index.vue b/docs/src/demos/Examples/Default/index.vue index b3bb8114..1f0bd869 100644 --- a/docs/src/demos/Examples/Default/index.vue +++ b/docs/src/demos/Examples/Default/index.vue @@ -139,6 +139,15 @@ export default { padding: 0 1rem; } + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.1; + } + code { background-color: rgba(#616161, 0.1); color: #616161; diff --git a/docs/src/demos/Examples/Formatting/index.vue b/docs/src/demos/Examples/Formatting/index.vue index 0e795b82..6c1b48a7 100644 --- a/docs/src/demos/Examples/Formatting/index.vue +++ b/docs/src/demos/Examples/Formatting/index.vue @@ -124,6 +124,15 @@ export default { padding: 0 1rem; } + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.1; + } + code { background-color: rgba(#616161, 0.1); color: #616161; diff --git a/docs/src/demos/Examples/MarkdownShortcuts/index.vue b/docs/src/demos/Examples/MarkdownShortcuts/index.vue index 59062178..8f55d2ae 100644 --- a/docs/src/demos/Examples/MarkdownShortcuts/index.vue +++ b/docs/src/demos/Examples/MarkdownShortcuts/index.vue @@ -65,6 +65,15 @@ export default { padding: 0 1rem; } + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.1; + } + code { background-color: rgba(#616161, 0.1); color: #616161; diff --git a/docs/src/demos/Examples/Tables/index.vue b/docs/src/demos/Examples/Tables/index.vue index 07288eaf..8e89ac38 100644 --- a/docs/src/demos/Examples/Tables/index.vue +++ b/docs/src/demos/Examples/Tables/index.vue @@ -4,56 +4,56 @@ insertTable -