You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, after upgrading the template to the current version, h1 headers are not centered correctly when they are displayed on a wiki page with the ~ ~ NOTOC ~ ~ macro. This was not the case with the previous version.
Steps to reproduce
I've edited the "userstyle.css" file with additional CSS for h1 headers:
Purge DokuWiki's CSS cache, delete browser's cache and reload the page
Expected behavior: On a page with a visible TOC, the h1 header is centered between the left border of the page and the left border of the TOC. When you minimize the TOC, the h1 header is centered between the left and the right borders of the page. When there is no TOC, the h1 header should also be centered between the left and right borders of the page.
Actual behavior: When there is no TOC, the h1 header is centered between the left border of the page and an invisible border of the area where the TOC normally displays.
Versions
Current version (updated 2 days ago)
2017-02-19e "Frusterick Manners"
Chrome Version 64.0.3282.167 (Official Build) (64-Bit)
Screenshots or Logs
Page with visible TOC:
Page with minmized TOC:
Page with ~ ~ NOTOC ~ ~ macro (it's the same when there are not enough headers to generate a TOC):
Page source with div for TOC
The text was updated successfully, but these errors were encountered:
Description
Hi, after upgrading the template to the current version, h1 headers are not centered correctly when they are displayed on a wiki page with the ~ ~ NOTOC ~ ~ macro. This was not the case with the previous version.
Steps to reproduce
Expected behavior: On a page with a visible TOC, the h1 header is centered between the left border of the page and the left border of the TOC. When you minimize the TOC, the h1 header is centered between the left and the right borders of the page. When there is no TOC, the h1 header should also be centered between the left and right borders of the page.
Actual behavior: When there is no TOC, the h1 header is centered between the left border of the page and an invisible border of the area where the TOC normally displays.
Versions
Screenshots or Logs
Page with visible TOC:
Page with minmized TOC:
Page with ~ ~ NOTOC ~ ~ macro (it's the same when there are not enough headers to generate a TOC):
Page source with div for TOC
The text was updated successfully, but these errors were encountered: