diff --git a/resources/assets/sass/_forms.scss b/resources/assets/sass/_forms.scss
index b35caae55..9e4ef702d 100644
--- a/resources/assets/sass/_forms.scss
+++ b/resources/assets/sass/_forms.scss
@@ -325,6 +325,10 @@ div[editor-type="markdown"] .title-input.page-title input[type="text"] {
&.flexible input {
width: 100%;
}
+ .search-box-cancel {
+ left: auto;
+ right: 0;
+ }
}
.outline > input {
diff --git a/resources/assets/sass/styles.scss b/resources/assets/sass/styles.scss
index bdc57d8fc..424074a0d 100644
--- a/resources/assets/sass/styles.scss
+++ b/resources/assets/sass/styles.scss
@@ -96,17 +96,6 @@ $loadingSize: 10px;
}
}
-
-// Search results
-.search-results > h3 a {
- font-size: 0.66em;
- color: $primary;
- padding-left: $-m;
- i {
- padding-right: $-s;
- }
-}
-
// Back to top link
$btt-size: 40px;
[back-to-top] {
diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php
index fbf928102..b33cb6715 100644
--- a/resources/views/books/show.blade.php
+++ b/resources/views/books/show.blade.php
@@ -45,14 +45,7 @@
@endif
-
- {{--TODO--}}
-
-
- @include('partials.loading-icon')
-
-
-
+ @include('partials.entity-dashboard-search-results')
@stop
@@ -133,20 +126,14 @@
@section('left')
+ @include('partials.entity-dashboard-search-box')
+
@if($book->tags->count() > 0)
@include('components.tag-list', ['entity' => $book])
@endif
-
-
-
-
@if(count($activity) > 0)
{{ trans('entities.recent_activity') }}
diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php
index 399a4d662..878a935df 100644
--- a/resources/views/chapters/show.blade.php
+++ b/resources/views/chapters/show.blade.php
@@ -44,14 +44,7 @@
@endif
-
- {{--TODO--}}
-
-
- @include('partials.loading-icon')
-
-
-
+ @include('partials.entity-dashboard-search-results')
@stop
@@ -137,20 +130,14 @@
@section('left')
+ @include('partials.entity-dashboard-search-box')
+
@if($chapter->tags->count() > 0)
@include('components.tag-list', ['entity' => $chapter])
@endif
-
-
-
-
@include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
@stop
diff --git a/resources/views/partials/entity-dashboard-search-box.blade.php b/resources/views/partials/entity-dashboard-search-box.blade.php
new file mode 100644
index 000000000..99d37c5f8
--- /dev/null
+++ b/resources/views/partials/entity-dashboard-search-box.blade.php
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/resources/views/partials/entity-dashboard-search-results.blade.php b/resources/views/partials/entity-dashboard-search-results.blade.php
new file mode 100644
index 000000000..68c6f53ad
--- /dev/null
+++ b/resources/views/partials/entity-dashboard-search-results.blade.php
@@ -0,0 +1,15 @@
+
+
+
+ {{ trans('entities.search_results') }}
+
+
+
+
+
+ @include('partials.loading-icon')
+
+
+
\ No newline at end of file