fix css in docs search

Handles https://github.com/chef/inspec/issues/1114\#issuecomment-249525984
This commit is contained in:
Dominik Richter 2016-09-26 12:18:24 +02:00
parent 7030f9b856
commit debfa6ade9
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
nav#main-nav
nav#main-nav class="sidebar-layout-#{locals[:sidebar_layout]}"
a.main-nav--logo href="/"
img src="/images/inspec-by-chef-logo.svg" onerror="this.src='/images/inspec-by-chef-logo.png'"

View file

@ -64,3 +64,9 @@
min-width: 54px;
}
}
// FIXME: this is used to remove the top border line of the search
// see https://github.com/chef/inspec/issues/1114#issuecomment-249525984
.sidebar-layout-docs > .main-nav--links {
border-top: none;
}