Skip to content

Commit 6703394

Browse files
GuillaumeGomezjyn514
authored andcommitted
Remove bottom padding on source file pages
1 parent 4a1b346 commit 6703394

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

templates/crate/source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{%- endblock header -%}
2323

2424
{%- block body -%}
25-
<div class="container package-page-container">
25+
<div class="container package-page-container small-bottom-pad">
2626
<div class="pure-g">
2727
<div id="side-menu" class="pure-u-1 {% if file_content %}pure-u-sm-7-24 pure-u-md-5-24{% endif %}">
2828
<div class="pure-menu package-menu">

templates/style/base.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,10 @@ div.package-sheet-container {
436436
div.package-page-container {
437437
padding-bottom: 50px;
438438

439+
&.small-bottom-pad {
440+
padding-bottom: 30px;
441+
}
442+
439443
div.package-menu {
440444
padding: 0 10px;
441445

0 commit comments

Comments
 (0)