Fix right margin and padding to 0px on body el

This commit is contained in:
Marliana Lara
2019-11-05 14:48:04 -05:00
parent e6235a4046
commit 6fee0db17b
2 changed files with 7 additions and 6 deletions

View File

@@ -21,12 +21,6 @@
src: url(/static/assets/OpenSans-Bold.ttf); src: url(/static/assets/OpenSans-Bold.ttf);
} }
/* Bootstrap fix that's causing a right margin to appear
whenver a modal is opened */
body.modal-open {
margin-right: 0;
}
/* Helper Classes */ /* Helper Classes */
.pad-right-sm { padding-right: 10px; } .pad-right-sm { padding-right: 10px; }
.pad-left-md { padding-left: 30px; } .pad-left-md { padding-left: 30px; }

View File

@@ -4,6 +4,13 @@ body {
color: @default-data-txt; color: @default-data-txt;
background-color: @default-secondary-bg; background-color: @default-secondary-bg;
font-size: 0.88rem; font-size: 0.88rem;
/*
* Bootstrap fix that's causing a right margin and padding
* to appear whenever a modal is opened
* https://github.com/twbs/bootstrap/issues/27071
*/
margin-right: 0px !important;
padding-right: 0px !important;
} }
.dropdown-toggle::after { .dropdown-toggle::after {