mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
Compare commits
2 commits
b8bf05309a
...
42b54b8237
Author | SHA1 | Date | |
---|---|---|---|
|
42b54b8237 | ||
|
6d20417fd5 |
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ function _toogleZenMode(zendModeButton) {
|
||||||
articleContent.classList.toggle('max-w-fit');
|
articleContent.classList.toggle('max-w-fit');
|
||||||
articleContent.classList.toggle('max-w-prose');
|
articleContent.classList.toggle('max-w-prose');
|
||||||
|
|
||||||
|
// Change width of article title
|
||||||
|
header.classList.toggle('max-w-full');
|
||||||
|
header.classList.toggle('max-w-prose');
|
||||||
|
|
||||||
// Read i18n title from data-attributes
|
// Read i18n title from data-attributes
|
||||||
const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable');
|
const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable');
|
||||||
const titleI18nEnable = zendModeButton.getAttribute('data-title-i18n-enable');
|
const titleI18nEnable = zendModeButton.getAttribute('data-title-i18n-enable');
|
||||||
|
|
Loading…
Reference in a new issue