Browse Source

Fix #3295 responsividade fotos parlamentares (#3300)

pull/3292/head
Ulysses Lara 4 years ago
committed by GitHub
parent
commit
3d4fc0c8df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      sapl/templates/parlamentares/parlamentares_list.html

6
sapl/templates/parlamentares/parlamentares_list.html

@ -54,7 +54,7 @@
<table class="table table-striped table-hover table-link-ordering"> <table class="table table-striped table-hover table-link-ordering">
<thead> <thead>
<tr> <tr>
<th colspan=2 >Parlamentar</th> <th>Parlamentar</th>
<th>Partido</th> <th>Partido</th>
<th>Ativo?</th> <th>Ativo?</th>
<th v-if="!is_pesquisa" >Titular?</th> <th v-if="!is_pesquisa" >Titular?</th>
@ -63,9 +63,7 @@
<tbody v-for="parlamentar in visible_parlamentares"> <tbody v-for="parlamentar in visible_parlamentares">
<tr> <tr>
<th> <th>
<img class="img-fluid img-thumbnail" style="width: 128px; height: 128px;" v-bind:src="parlamentar.fotografia_cropped" @error="(() => parlamentar.fotografia = '')"/> <img class="img-fluid img-thumbnail" style="width: 128px; height: auto;" v-bind:src="parlamentar.fotografia_cropped" @error="(() => parlamentar.fotografia = '')"/>
</th>
<th>
<a v-bind:href="'/parlamentar/'+parlamentar.id">[[ parlamentar.nome_parlamentar]]</a> <a v-bind:href="'/parlamentar/'+parlamentar.id">[[ parlamentar.nome_parlamentar]]</a>
</th> </th>
<th> <th>

Loading…
Cancel
Save