Cosmetic fixes for search results - fixing overflow affecting the input box
This commit is contained in:
parent
32514c9ab1
commit
7854cbdabd
6
public/css/fixes.css
vendored
6
public/css/fixes.css
vendored
@ -262,4 +262,10 @@ select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__
|
|||||||
/* limit selection to inside the modal */
|
/* limit selection to inside the modal */
|
||||||
body.modal-open {
|
body.modal-open {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix our search results, implementing a scroll bar */
|
||||||
|
#search_results ul.typeahead.dropdown-menu {
|
||||||
|
overflow-y: scroll;
|
||||||
|
max-height: 300px;
|
||||||
}
|
}
|
@ -38,7 +38,7 @@
|
|||||||
<span></span>
|
<span></span>
|
||||||
<div id="searching" class="d-none"><i class="fas fa-fw fa-spinner fa-pulse text-light"></i></div>
|
<div id="searching" class="d-none"><i class="fas fa-fw fa-spinner fa-pulse text-light"></i></div>
|
||||||
</button>
|
</button>
|
||||||
<div id="search_results" class="overflow-scroll" style="height: 300px;"></div>
|
<div id="search_results"></div>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn-close"></button>
|
<button class="btn-close"></button>
|
||||||
</div>
|
</div>
|
||||||
@ -164,13 +164,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@section('page-scripts')
|
@section('page-scripts')
|
||||||
<style>
|
|
||||||
#search_results ul.typeahead.dropdown-menu {
|
|
||||||
overflow: scroll;
|
|
||||||
max-height: 300px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('button[id^="link-"]').on('click',function(item) {
|
$('button[id^="link-"]').on('click',function(item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user