Skip to content

Preserve toggle-files-button after navigation - #6079

Merged
fregante merged 2 commits into
mainfrom
toggle-again
Oct 12, 2022
Merged

fregante merged 2 commits into
mainfrom
toggle-again

Conversation

@fregante

@fregante fregante commented Oct 12, 2022 •

Copy link
Copy Markdown
Member

@fregante fregante added the bug label Oct 12, 2022
@fregante
fregante marked this pull request as draft October 12, 2022 10:03
@fregante
fregante marked this pull request as ready for review October 12, 2022 14:59
}
`;
document.head.append(rule);
document.body.prepend(rule);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turbo still messes with our style tags, so we just can't added to head or anywhere near.

@fregante
fregante merged commit 5e50f67 into main Oct 12, 2022
@fregante
fregante deleted the toggle-again branch October 12, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

rgh-toggle-files is not re-added after navigation

1 participant