Fixes long text title overflow problem on grid mode.

This commit is contained in:
mateuswetah 2018-08-02 20:35:39 -03:00
parent 253319d6d3
commit cebf823ba7
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,8 @@
.row { justify-content: space-around }
.col { flex-grow: 0; }
.tainacan-grid {
.tainacan-grid-item {
max-width: 258px;
margin: 12px 16px 24px 16px;
text-align: center;
display: block;

View File

@ -5,7 +5,7 @@
<div class="row no-gutters">
<?php while (have_posts()): the_post(); ?>
<div class="col">
<a class="tainacan-grid" href="<?php the_permalink(); ?>">
<a class="tainacan-grid-item" href="<?php the_permalink(); ?>">
<p class="metadata-title">
<?php the_title(); ?>
</p>