style/card: hardcode some card text height

Temporary solution to have all card having the same height
This commit is contained in:
Kazhnuz 2019-05-25 17:06:26 +02:00
parent 01f2f448c2
commit 5dcffa564a
3 changed files with 11 additions and 1 deletions

View file

@ -139,7 +139,7 @@
<a type="button" href="https://kazhnuz.space" class="btn btn-violet">Voir</a> <a type="button" href="https://kazhnuz.space" class="btn btn-violet">Voir</a>
</div> </div>
<div> <div>
<p class="powered-text">powered by pluXML</p> <p class="powered-text">powered by p</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -51,6 +51,11 @@
box-shadow: $large-shadow, $inset-shadow; box-shadow: $large-shadow, $inset-shadow;
} }
.card-text {
height: 130px;
overflow: hidden;
}
/* 4.1 - Header and titles */ /* 4.1 - Header and titles */
.card-header { .card-header {
@ -126,6 +131,7 @@
@include li-no-margin(); @include li-no-margin();
} }
/* 4.3 - Cards list-groups */ /* 4.3 - Cards list-groups */
section.widget { section.widget {

View file

@ -756,6 +756,10 @@ ul.social {
.card-shadow { .card-shadow {
box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1), inset 0px -2px 0px rgba(0, 0, 0, 0.2); } box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
.card-text {
height: 130px;
overflow: hidden; }
/* 4.1 - Header and titles */ /* 4.1 - Header and titles */
.card-header { .card-header {
border: 1px solid rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 0, 0, 0.3);