Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdec0899

Browse files
committed
Make sidebar width more flexible
1 parent7430795 commitdec0899

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎python_docs_theme/static/pydoctheme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ span.pre {
141141

142142
div.sphinxsidebar {
143143
display: flex;
144-
width:260px;
144+
width:min(25vw,350px);
145145
float: none;
146146
position: sticky;
147147
top:0;
@@ -159,7 +159,7 @@ div.sphinxsidebar h4 {
159159
}
160160

161161
div.bodywrapper {
162-
margin-left:260px;
162+
margin-left:min(25vw,350px);
163163
}
164164

165165
div.sphinxsidebarwrapper {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp