A
A
Artyom2016-03-17 14:02:15
HTML
Artyom, 2016-03-17 14:02:15

How to remove stripes in modal?

There is a contact form in modal. Here .
Maybe I’m stupid hard, but I don’t understand where this jamb with lines came from (red on the screen).
5c3585d026bd4076aa76e5eb327b751c.png
How to fix?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly, 2016-03-17
@SlampD

The top line is .modal-header , the bottom line is .modal-footer
Why is that? - because the height of the modal-body block is only 30px ,
Replace
with
and you will be happy.

A
Andrey Ivchenkov, 2016-03-17
@Groonya

These lines belong to the div with the modal-body class. Try adding the clearfix class to this div as well.

S
Serg Sniffer, 2016-03-17
@sniffer

If you want to remove these lines, try turning off the border on the .modal-header and .modal-footer elements.

.modal-header, .modal-footer {
    border: none;
}

If you want to bring these lines back to normal, add the clearfix class to the element with the modal-body class (as mentioned above), or add the overflow: hidden property
.modal-body {
    overflow: hidden;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question