Skip to content

Commit ec4ff47

Browse files
release: Bump version 1.0.6
1 parent 2d83b10 commit ec4ff47

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

doc/changelog.d/473.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feat: add different width for different media for main content

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55
[project]
66
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77
name = "ansys-sphinx-theme"
8-
version = "1.0.5"
8+
version = "1.0.6"
99
description = "A theme devised by ANSYS, Inc. for Sphinx documentation."
1010
readme = "README.rst"
1111
requires-python = ">=3.9,<4"

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/pydata-sphinx-theme-custom.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,27 @@ button.btn.version-switcher__button:hover {
720720
.bd-main .bd-content .bd-article-container {
721721
padding: 8px;
722722
width: 1000px;
723+
max-width: 100%;
723724
}
724725

725726
.bd-sidebar-primary {
726727
width: 20%;
727728
}
729+
730+
@media (min-width: 960px) {
731+
.col-lg-3 {
732+
width: fit-content;
733+
}
734+
}
735+
736+
@media (min-width: 960px) {
737+
.bd-page-width {
738+
max-width: min(100%, 1700px) !important;
739+
}
740+
}
741+
742+
@media (min-width: 960px) {
743+
.bd-main .bd-content .bd-article-container {
744+
width: min(100%, 1070px);
745+
}
746+
}

0 commit comments

Comments
 (0)