Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Admonitions margin #550

Merged
merged 2 commits into from Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/conf.py
Expand Up @@ -65,6 +65,11 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

# -- Extension options -------------------------------------------------------

myst_enable_extensions = [
"colon_fence",
]
damianavila marked this conversation as resolved.
Show resolved Hide resolved
# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
3 changes: 2 additions & 1 deletion src/pydata_sphinx_theme/assets/styles/_admonitions.scss
Expand Up @@ -20,7 +20,8 @@ div.admonition,

// Items after the title should be indented
p.admonition-title ~ * {
padding: 0 1.4rem;
margin-left: 1.4rem;
margin-right: 1.4rem;
}

// Lists need to have left margin so they don't spill into it
Expand Down