My page looks like this:
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12" style="border-style:solid;">
<div style="text-align:center;" class="col-sm-12 col-md-12">
<img style="text-align:center;" src="../uploads/logo.jpg" />
<h4 style="text-align:center;">GUIA DE AGENDAMENTO</h4>
</div>
<div style="text-align:center;" class="col-sm-8 col-md-8">
<p style="text-align:center;">
Data de Atendimento<br/>{{date('d/m/Y', strtotime($marcacao->data))}}<br/><br/>
Profissional<br/>{{$marcacao->agenda->vinculo->profissional->nome}}
</p>
</div>
<div style="text-align:center;" class="col-sm-4 col-md-4">
<p style="text-align:center;">
Horário<br/>{{$marcacao->agenda->horario}}<br/><br/>
Especialidades<br/>{{$marcacao->agenda->vinculo->funcao}}
</p>
</div>
</div>
<div class="col-sm-12 col-md-12" style="border-style:solid;">
<div style="text-align:center;" class="col-sm-12 col-md-12">
<h4 style="text-align:center;">Paciente: {{$marcacao->cidadao->nome}}</h4>
<div style="text-align:center;" class="col-sm-4 col-md-4">
<p style="text-align:center;">
CADSUS<br/>{{$marcacao->cidadao->cns}}
</p>
</div>
<div style="text-align:center;" class="col-sm-4 col-md-4">
<p style="text-align:center;">
Telefone<br/>{{$marcacao->cidadao->telefone}}
</p>
</div>
<div style="text-align:center;" class="col-sm-4 col-md-4">
<p style="text-align:center;">
Data de Nasc:<br/>{{date('d/m/Y', strtotime($marcacao->cidadao->dataNascimento))}}
</p>
</div>
</div>
</div>
Only the alignments and widths of the columns. When I look at the screen, it's ok, if I send it straight to the printer, it ignores the width of the columns. col-md-8
and col-md-4
, it looks like col-md-12
.
What to do?