fix: [bootstrap-helper] Better positioning if container has the row class
parent
3ea877fe10
commit
24fbe36f34
|
@ -899,6 +899,9 @@ class OverlayFactory {
|
|||
const boundingRect = this.$node[0].getBoundingClientRect()
|
||||
this.$overlayWrapper.css('min-height', Math.max(boundingRect.height, 20))
|
||||
this.$overlayWrapper.css('min-width', Math.max(boundingRect.width, 20))
|
||||
if (this.$node.hasClass('row')) {
|
||||
this.$overlayWrapper.addClass('row')
|
||||
}
|
||||
}
|
||||
this.$overlayContainer = $(OverlayFactory.overlayContainer)
|
||||
this.$overlayBg = $(OverlayFactory.overlayBg)
|
||||
|
|
Loading…
Reference in New Issue