From ff87d91b3e3027f601a2c646e0fbba34d5c48a47 Mon Sep 17 00:00:00 2001 From: Paul Hibbitts Date: Sun, 2 Jun 2024 12:25:51 -0700 Subject: [PATCH] Added CSS to better vertically align 'Edit this Page' emoji and text. --- docs/assets/css/theme.css | 9 +++++++++ docs/index.html | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/assets/css/theme.css b/docs/assets/css/theme.css index d35425d..5d0c5d8 100644 --- a/docs/assets/css/theme.css +++ b/docs/assets/css/theme.css @@ -507,6 +507,15 @@ line-height: 1.1rem; } +.markdown-section .align-items-vertically { + display: inline-flex; + align-items: center; +} + +.markdown-section .align-items-vertically .emoji { + margin-right: 2px; +} + body .app-nav { margin-right: -10px; } diff --git a/docs/index.html b/docs/index.html index 1ac8f5f..ca8580b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -303,7 +303,7 @@ } else { url = gitLinkRepoURL + '/blob/main/docs/' + vm.route.file } - var editHtml = '[:memo:' + editThisPageLinkText + '](' + url + ')\n' + var editHtml = '[:memo:' + editThisPageLinkText + '](' + url + ' ":class=align-items-vertically")\n' if ((!(getURLParameterByName('hidegitlink'))) && (!!gitLinkRepoURL)) { return editHtml + '\n' + html