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
Is your feature request related to a problem? Please describe.
I would like to move the Outline to the left of the main content which can be done relatively easily with CSS however the caveat is because when we use frontmatter to hide the outline on certain pages it creates a gap on the left side instead of completely hiding the Outline’s parent container.
Describe the solution you'd like
Two things:
Theme Config to have something like “outlinePosition” that takes “left” or defaults to “right” and positions the outline correctly.
Change the logic so that when frontmatter has outline set to hidden for a page that the entire Outline element is removed instead of it’s child elements which will prevent the left aligned Outline from creating a left side gap.
Describe alternatives you've considered
Using CSS to move the Outline element but it not fully work with frontmatter setting an outline to false on a specific page by creating an empty gap because the parent element of Outline is not removed.
Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
The text was updated successfully, but these errors were encountered:
staghouse
changed the title
[Outline] Add support for left or right aligned Outline
[Outline] Add support for left or right positioned Outline
Mar 4, 2023
Is your feature request related to a problem? Please describe.
I would like to move the Outline to the left of the main content which can be done relatively easily with CSS however the caveat is because when we use frontmatter to hide the outline on certain pages it creates a gap on the left side instead of completely hiding the Outline’s parent container.
Describe the solution you'd like
Two things:
Describe alternatives you've considered
Using CSS to move the Outline element but it not fully work with frontmatter setting an outline to false on a specific page by creating an empty gap because the parent element of Outline is not removed.
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: