Open adelton opened 11 months ago
Note to self -- the following Violentmonkey script workarounds the problem:
// ==UserScript==
// @name Workaround https://github.com/validatedpatterns/docs/issues/334
// @namespace adelton
// @match https://validatedpatterns.io/patterns/*
// @grant none
// @version 1.0
// ==/UserScript==
var TOC = document.getElementById('TableOfContents');
if (TOC) {
TOC.parentNode.style.display = 'none';
}
@abhatt-rh can you take a look at this?
@abhatt-rh can you take a look at this?
Thank you @mbaldessari, but I think @danmacpherson would be the best to consult on the PatternFly front so assigning this one to him.
Hi @adelton
So that column should not be empty and should have table of contents for the page. For example:
I might need some help to replicate this issue so I can work out the right way to fix it. Can you let me know the following:
Thanks, @adelton. The good news is I'm running the exact same configuration you are, so it might be easier to isolate the issue.
I have a feeling the page zoom is affecting the TOC column, so I might need to correct this. Just to confirm, do you usually have the pages in Firefox zoomed in? If you click View > Zoom > Actual Size or Zoom Out, does the menu reappear?
Yes, after zooming out to a point when the text is so small I cannot really read it, the menu appears.
Excellent! Seems like we've got the root cause. I'll try and implement a fix to make that right column respect the zoom.
The pattern pages like https://validatedpatterns.io/patterns/industrial-edge/ seem to contain
on the right which is empty and wastes space.
Moreover, when one tries to increase the size of the text with
Ctrl-+
, that white space grows and wastes even more space.It should be turned to
float
or removed completely.