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

Quick fix for the left panel size #130

Merged
merged 1 commit into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,8 @@ Side column size (first and second column from left)
*/

.col-md-3 {
flex: none;
max-width: fit-content;
}

.col-xl-7 {
max-width: fit-content;
flex: 0 0 20%;
max-width: 20%;
Comment on lines +534 to +535
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep an eye on it because in the past having the "size" of a panel based on percentage was the cause of some issues.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah... PyGeometry suffered of this issue with the percentage... Let's see

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This time i am expecting , if the line is longer than the expected, it should go to the second line.

}

a.headerlink {
Expand Down
4 changes: 2 additions & 2 deletions src/ansys_sphinx_theme/static/css/breadcrumbs.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

}

#breadcrumbs-spacer{
border-right: 1px solid rgba(0,0,0,.1);
#breadcrumbs-spacer {
border-right: 10rem solid #fff;
}

div.related > ul {
Expand Down