Aligning two divs in a Modal

1

I'm having a question for aligning two divs using Bootstrap.

<div class="info-suporte col-sm-8">
                        <table class="table">
                            <thead>
                                <tr>
                                    <th><div class="foto" ></div></th>
                                    <th><div class="bloco"><p id="modal-bloco">Bloco 6</p></div></th>
                                    <th><div class="corte">Corte</div></th>
                                    <th><div class="lr">AP</div></th>
                                    <th><div class="hr">AQ</div></th>
                                    <th><div class="tar lr">AP</div></th>
                                    <th><div class="hr">AQ</div></th>
                                    <th><div class="lr">AP</div></th>
                                    <th><div class="hr">AQ</div></th>
                                    <th><div class="alta_prioridade">AP</div></th>
                                    <th><div class="alta_qualidade">AQ</div></th>
                                    <th><div class="publicacao integra">Integra</div></th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="row-inicio">
                                    <th scope="row">Início</th>
                                    <td class="bloco"></td>
                                    <td class="cut"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="alta_prioridade"></td>
                                    <td class="alta_qualidade"></td>
                                    <td class="pub"></td>
                                </tr>
                                <tr class="row-fim">
                                    <th scope="row">Fim</th>
                                    <td class="bloco"></td>
                                    <td class="cut"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="alta_prioridade"></td>
                                    <td class="alta_qualidade"></td>
                                    <td class="publicacao"></td>
                                </tr>
                                <tr class="row-total">
                                    <th scope="row">Duração</th>
                                    <td class="bloco"></td>
                                    <td class="corte"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="lr"></td>
                                    <td class="hr"></td>
                                    <td class="alta_prioridade"></td>
                                    <td class="alta_qualidade"></td>
                                    <td class="publicacao"></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-sm-2 sla" id='modal-sla'>
                        <div class="sla-title col-sm-12 info-suporte-badge erro">
                            <p>SLA</p>
                        </div>
                        <div class="sla-body col-sm-12">
                            <p >Total Previsto</p>
                            <p class="sla-time previsto"></p>
                        </div>
                        <div class="sla-body col-sm-12">
                            <p>Total Efetivo</p>
                            <p class="sla-time efetivo"></p>
                        </div>
                    </div>

I tried more and I could not align these two div . The div with class="col-sm-2" is above the table. It is noteworthy that they are in a modal and by what I noticed the table is too large to put next to each other.

    
asked by anonymous 29.08.2017 / 04:21

1 answer

0

I think it's exactly the problem you commented on ... the table is too big and it ends up getting bigger than the size of the div on the bootstrap ... I did a test #

    
29.08.2017 / 05:56