diff --git a/themes/chameleon/source/css/_source.css b/themes/chameleon/source/css/_source.css index be9f92e..4d33076 100644 --- a/themes/chameleon/source/css/_source.css +++ b/themes/chameleon/source/css/_source.css @@ -746,11 +746,14 @@ unhide (via JS) if Web Share API is supported */ .article .article-entry a.headerlink, .article-title a#btnshare { margin-left: 0.5em; - display: inline-block; height: 1em; width: 1em; } +.article .article-entry a.headerlink { + display: inline-block; +} + @media (max-width: 768px) { .article-title { font-size: 1.8rem; diff --git a/themes/chameleon/source/css/chameleon.css b/themes/chameleon/source/css/chameleon.css index 2e720b5..40df2fc 100644 --- a/themes/chameleon/source/css/chameleon.css +++ b/themes/chameleon/source/css/chameleon.css @@ -1066,11 +1066,14 @@ unhide (via JS) if Web Share API is supported */ .article .article-entry a.headerlink, .article-title a#btnshare { margin-left: 0.5em; - display: inline-block; height: 1em; width: 1em; } +.article .article-entry a.headerlink { + display: inline-block; +} + @media (max-width: 768px) { .article-title { font-size: 1.8rem; diff --git a/themes/chameleon/source/js/chameleon.js b/themes/chameleon/source/js/chameleon.js index 0a658df..8be5c8b 100644 --- a/themes/chameleon/source/js/chameleon.js +++ b/themes/chameleon/source/js/chameleon.js @@ -32,7 +32,7 @@ if (navigator.share && document.location.protocol === 'https:') { const shareBtn = document.getElementById('btnshare') // Unhide share-button if supported - shareBtn.style.display = 'initial' + shareBtn.style.display = 'inline-block' shareBtn.addEventListener('click', async () => { const query = (selector) => {