Skip to content

Commit

Permalink
Probably fix CSS styling (#186)
Browse files Browse the repository at this point in the history
Related to #143. I have to push this first because I cannot reproduce
the issue locally.

One page which shows the issue is
https://plutostatichtml.huijzer.xyz/stable/notebooks/example/:


![image](https://github.com/rikhuijzer/PlutoStaticHTML.jl/assets/20724914/176b71b7-16d5-4594-a7d9-701f82ac4ef1)
  • Loading branch information
rikhuijzer committed Apr 2, 2024
1 parent e898003 commit 82e7d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/style.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
function _add_documenter_css(html)
style = """
<style>
table {
#documenter-page table {
display: table !important;
margin: 2rem auto !important;
border-top: 2pt solid rgba(0,0,0,0.2);
border-bottom: 2pt solid rgba(0,0,0,0.2);
}
pre, div {
#documenter-page pre, #documenter-page div {
margin-top: 1.4rem !important;
margin-bottom: 1.4rem !important;
}
Expand Down

2 comments on commit 82e7d29

@rikhuijzer
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

Fixed a long-standing bug which would misalign some Documenter.jl HTML elements on pages which (1) were using PlutoStaticHTML inside Documenter and (2) were on a level below the top level in the menu. Also updated Pluto to version 0.19.40 (the Pluto version is pinned because this package depends on Pluto internals).

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/104073

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v6.0.21 -m "<description of version>" 82e7d29c4fab2b61f30d88e00c8f60085dd9aed8
git push origin v6.0.21

Please sign in to comment.