Skip to content

Commit b766d1d

Browse files
fix: minor style changes (#452)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent f5daaf3 commit b766d1d

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

doc/changelog.d/452.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: minor style changes

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,3 +706,16 @@ button.btn.version-switcher__button:hover {
706706
filter: box-shadow(var(--ast-box-shadow-active));
707707
border: none;
708708
}
709+
710+
/**
711+
* Article content (_article.scss)
712+
*/
713+
714+
.bd-main .bd-content .bd-article-container {
715+
padding: 8px;
716+
width: 1000px;
717+
}
718+
719+
.bd-sidebar-primary {
720+
width: 20%;
721+
}

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/sphinx-design.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ blockquote {
5353

5454
.bd-content details.sd-dropdown {
5555
color: var(--ast-dropdown-text-color);
56-
max-width: 500px;
57-
width: 100%;
56+
width: fit-content;
57+
min-width: 400px;
5858
}
5959

6060
.bd-content details.sd-dropdown summary.sd-summary-title {

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/table-custom.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ th {
4848
*/
4949

5050
tr {
51-
line-height: 56px;
51+
line-height: var(--ast-global-line-height);
52+
height: 56px;
5253
color: var(--ast-color-table-cell-text);
5354
}
5455

0 commit comments

Comments
 (0)