mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 05:41:52 +02:00
Revert "🐛Fix zen mode footer line bug"
This commit is contained in:
parent
10d55c186c
commit
04410deac7
2 changed files with 1 additions and 6 deletions
|
@ -5,7 +5,6 @@ function _toogleZenMode(zendModeButton) {
|
|||
const tocInside = document.querySelector('.toc-inside');
|
||||
const articleContent = document.querySelector('.article-content');
|
||||
const header = document.querySelector('#single_header');
|
||||
const footer = document.querySelector(''#single_footer''); // Add footer ref for class transformation
|
||||
|
||||
|
||||
// Add semantic class into body tag
|
||||
|
@ -25,10 +24,6 @@ function _toogleZenMode(zendModeButton) {
|
|||
header.classList.toggle('max-w-full');
|
||||
header.classList.toggle('max-w-prose');
|
||||
|
||||
// Change width of article footer
|
||||
header.classList.toggle('max-w-full');
|
||||
header.classList.toggle('max-w-prose');
|
||||
|
||||
// Read i18n title from data-attributes
|
||||
const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable');
|
||||
const titleI18nEnable = zendModeButton.getAttribute('data-title-i18n-enable');
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
{{ end }}
|
||||
|
||||
</section>
|
||||
<footer id="single_footer" class="pt-8 max-w-prose print:hidden">
|
||||
<footer class="pt-8 max-w-prose print:hidden">
|
||||
|
||||
{{ partial "article-pagination.html" . }}
|
||||
{{ if .Params.showComments | default (.Site.Params.article.showComments | default false) }}
|
||||
|
|
Loading…
Add table
Reference in a new issue