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

Commitc4c74fd

Browse files
dstansbymeeseeksmachine
authored andcommitted
Backport PR#29789: Improve layout of cheatsheets in sidebar
1 parent8da8655 commitc4c74fd

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

‎doc/_static/mpl.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,15 @@ div.wide-table table th.stub {
207207
.section-toc.toctree-wrapperli>ul{
208208
padding-inline-start:0;
209209
}
210+
211+
.sidebar-cheatsheets {
212+
margin-bottom:3em;
213+
}
214+
215+
.sidebar-cheatsheets>h3 {
216+
margin-top:0;
217+
}
218+
219+
.sidebar-cheatsheets>img {
220+
width:100%;
221+
}

‎doc/_templates/cheatsheet_sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<divclass="sidebar-cheatsheets">
3-
<h3>Matplotlib cheatsheets</h3>
3+
<h3>Cheatsheets</h3>
44
<ahref="https://matplotlib.org/cheatsheets/">
55
<imgsrc="_static/mpl_cheatsheet1.png"
66
alt="Matplotlib cheatsheets"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp