💄 style(ui): limit add-to-shelves dropdown height
- 【style】 constrain add-to-shelves dropdown height and enable scroll - 【style】 prevent overly tall menus from overflowing the page
This commit is contained in:
@@ -294,7 +294,7 @@
|
|||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
{% if current_user.shelf.all() or g.shelves_access %}
|
{% if current_user.shelf.all() or g.shelves_access %}
|
||||||
<div id="shelf-actions" class="btn-toolbar" role="toolbar">
|
<div id="shelf-actions" class="btn-toolbar" role="toolbar">
|
||||||
<div class="btn-group" role="group" aria-label="Add to shelves">
|
<div class="btn-group dropup" role="group" aria-label="Add to shelves">
|
||||||
<button id="add-to-shelf" type="button"
|
<button id="add-to-shelf" type="button"
|
||||||
class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown"
|
class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown"
|
||||||
aria-haspopup="true" aria-expanded="false">
|
aria-haspopup="true" aria-expanded="false">
|
||||||
|
|||||||
Reference in New Issue
Block a user