Skip to content

Commit

Permalink
update module version page
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Aug 26, 2018
1 parent 69132c2 commit 0a0f1b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 4 additions & 8 deletions static/scss/widgets/page_header.scss
Expand Up @@ -10,7 +10,7 @@
@include site_width;
}

margin: 10px auto;
margin: 15px auto;

&:first-child {
margin-top: 0;
Expand Down Expand Up @@ -53,12 +53,12 @@ h1, p {
}

h1 {
margin-bottom: 5px;
font-size: 42px;
font-weight: normal;
font-size: 32px;

.sub {
color: $sub_color;
font-size: 18px;
font-weight: normal;
}
}

Expand Down Expand Up @@ -93,10 +93,6 @@ h1 {
}
}

.nav_buttons {
margin: 15px 0 0 0;
}

.metadata_columns {
margin-top: 25px;
border-top: 1px solid $light_border_color;
Expand Down
3 changes: 2 additions & 1 deletion widgets/module_header.moon
Expand Up @@ -30,7 +30,8 @@ class ModuleHeader extends require "widgets.page_header"
if summary = @module.summary
p class: "module_summary", summary

if @version
if @version
div class: "page_header_inner", ->
div class: "nav_buttons", ->
a class: "round_button", href: @url_for(@module), "← Return to module"

Expand Down

0 comments on commit 0a0f1b6

Please sign in to comment.