@@ -26,6 +26,8 @@ $.BootstrapTable = class extends $.BootstrapTable {
init () {
super.init()
+ this.constants.classes.dropup = 'dropdown-menu-up'
+
$('.modal').on('click', '[data-close]', (e) => {
$(e.delegateTarget).removeClass('show')
})
@@ -131,11 +131,19 @@
}
+ .dropdown-menu-up {
+ .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
.dropdown-menu {
display: none;
background-color: $background;
position: absolute;
right: 0;
+ min-width: 160px;
margin-top: 2px;
border: 1px solid $btn-border;
border-radius: 4px;
@@ -299,4 +307,8 @@
.mt-30 {
margin-top: 30px;
+}
+.float-left {
+ float: left;