Also removed link to search all pages if no pages mached search on global search page.
Closes #74.
}
#login-form label.toggle-switch {
margin-left: $-xl;
+}
+
+.image-picker img {
+ background-color: #BBB;
}
\ No newline at end of file
html {
background-color: #FFFFFF;
height: 100%;
+ overflow-y: scroll;
+ &.flexbox {
+ overflow-y: hidden;
+ }
}
body {
font-family: $text;
<!DOCTYPE html>
-<html>
+<html class="@yield('body-class')">
<head>
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name', 'BookStack') }}</title>
<h1>Search Results <span class="text-muted">{{$searchTerm}}</span></h1>
<p>
- <a href="/search/pages?term={{$searchTerm}}" class="text-page"><i class="zmdi zmdi-file-text"></i>View all matched pages</a>
+
+ @if(count($pages) > 0)
+ <a href="/search/pages?term={{$searchTerm}}" class="text-page"><i class="zmdi zmdi-file-text"></i>View all matched pages</a>
+ @endif
+
@if(count($chapters) > 0)