Can't change css modal bootstrap. Modal fade in bootstrap auto add padding-left 15px

Viewed 419

I created this question but there is no answer. so i recreated.

I use modal bootstrap. When no scroll bar appears, everything is normal. But when I add more data, modal auto add style="display: block; padding-left: 15px;":

<div class="modal fade in" id="tags_modal" role="dialog" style="display: block; padding-left: 15px;">

I try change it but I can't. My code: https://jsbin.com/fusinoc/1/edit?html,css,output

My layout: my layout

1 Answers

Instead of adding styles inline, add below code in your css.

#myModal2 {
  padding-left: 0 !important;
}

working bin

Hope this helps :)

Related