Fixes long text title overflow problem on grid mode.
This commit is contained in:
parent
253319d6d3
commit
cebf823ba7
|
@ -5,7 +5,8 @@
|
||||||
.row { justify-content: space-around }
|
.row { justify-content: space-around }
|
||||||
.col { flex-grow: 0; }
|
.col { flex-grow: 0; }
|
||||||
|
|
||||||
.tainacan-grid {
|
.tainacan-grid-item {
|
||||||
|
max-width: 258px;
|
||||||
margin: 12px 16px 24px 16px;
|
margin: 12px 16px 24px 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="row no-gutters">
|
<div class="row no-gutters">
|
||||||
<?php while (have_posts()): the_post(); ?>
|
<?php while (have_posts()): the_post(); ?>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a class="tainacan-grid" href="<?php the_permalink(); ?>">
|
<a class="tainacan-grid-item" href="<?php the_permalink(); ?>">
|
||||||
<p class="metadata-title">
|
<p class="metadata-title">
|
||||||
<?php the_title(); ?>
|
<?php the_title(); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue