Skip to content

Commit c4fe973

Browse files
committed
Add padding to the source link
1 parent d1f4f9c commit c4fe973

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pep_sphinx_extensions/pep_theme/static/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,6 @@ nav#pep-sidebar ul {
290290
nav#pep-sidebar ul a {
291291
text-decoration: none;
292292
}
293+
#source {
294+
padding-bottom: 2rem;
295+
}

pep_sphinx_extensions/pep_theme/templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h1>Python Enhancement Proposals</h1>
2929
<h2>Contents</h2>
3030
{{ toc }}
3131
<br />
32-
<strong><a href="https://github.com/python/peps/blob/main/{{sourcename}}">Page Source (GitHub)</a></strong>
32+
<strong id="source"><a href="https://github.com/python/peps/blob/main/{{sourcename}}">Page Source (GitHub)</a></strong>
3333
</nav>
3434
</section>
3535
</body>

0 commit comments

Comments
 (0)