Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix issue with body shifting and modal dialogs
Roland Geider5712bf748ad0
diff --git a/wger/core/static/css/bootstrap-custom.css b/wger/core/static/css/bootstrap-custom.cssindex defe51797..8b61c8d97 100644--- a/wger/core/static/css/bootstrap-custom.css+++ b/wger/core/static/css/bootstrap-custom.css@@ -246,3 +246,21 @@ fieldset[disabled] .btn-default.active {#main-sidebar h6, #main-sidebar .h6 {margin-top: 0px;}+++ /**************************************************************+ * Fix issue with body shifting+ *+ * Opening modal dialogs shifted the whole body by 15px to the left.+ * While this appears to be https://github.com/twbs/bootstrap/issues/9855+ * it doesn't seem to be fixed here. When it does, these fixes can be removed+ **************************************************************/+ body.modal-open {+ padding-right: 0 !important;++}+/*+body.modal {+ overflow-y: hidden;+}+*/\ No newline at end of file