mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Dropdowns: Fixed bad direction logic, added dynmaic height
Changes since adding notifications would cause direction to be assessed upon max height of 80vh, which caused large dropdowns like the audit log dropdown to drop up and/or go offscreen. This restores the default assessment of 500px, and adds dynamic max-height adjustment to provide more room for large dropdowns. For #4652
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<input type="hidden" name="{{ $key }}" value="{{ $val }}">
|
||||
@endforeach
|
||||
|
||||
<div component="dropdown" class="list-sort-type dropdown-container">
|
||||
<div component="dropdown" class="list-sort-type dropdown-container relative">
|
||||
<label for="">{{ trans('settings.audit_event_filter') }}</label>
|
||||
<button refs="dropdown@toggle"
|
||||
type="button"
|
||||
|
Reference in New Issue
Block a user