Skip to content

Commit

Permalink
Fix line wrapping on homebrew button on downloads page (#3589)
Browse files Browse the repository at this point in the history
Signed-off-by: kagarmoe <kgarmoe@chef.io>
  • Loading branch information
Kimberly Garmoe authored and clintoncwolfe committed Nov 8, 2018
1 parent 399ee93 commit 6859d76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion www/source/downloads.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ header.bg-gradient.margin-top-offset.short-bg.relative
a href="https://brew.sh/" Homebrew
' package.
.pad-under-xs
.box-code.small.shadow.margin-top-xs
.box-code.custom-box-margin.shadow
i#copy.fa.fa-copy.copy.t-purple.mobile-hide onclick="copyToClipboard('#install')"
code#install brew cask install chef/chef/inspec
.triangle-right
Expand Down
7 changes: 6 additions & 1 deletion www/source/stylesheets/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ code {
padding: $percent_xs;
border-radius: 4px;
background-color: $color-dark;
margin: 0 0 1rem;
margin: 0 0 1rem;
}

.custom-box-margin {
padding: 16px 0px;
}

.box-code-overwrite {
Expand Down Expand Up @@ -82,3 +86,4 @@ code {
.hljs-strong{
font-weight:bold
}

2 changes: 1 addition & 1 deletion www/source/stylesheets/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@
padding-bottom: $percent_xs;
}


.box-white { // White Box
width: 100%;
padding: $percent_sm;
Expand Down Expand Up @@ -527,3 +526,4 @@ div.st-ui-autocomplete div.st-query-present, section.st-ui-slide-autocomplete di
-moz-border-radius: 8px !important;
border-radius: 8px !important;
}

0 comments on commit 6859d76

Please sign in to comment.