Fix css bug when empty abbreviation, description on public homepage

This commit is contained in:
apapachristou 2019-05-21 18:42:04 +03:00
parent 19ce1b6653
commit aee9ce7c9c
2 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,7 @@
margin-top: 0px; margin-top: 0px;
padding-top: 10px; padding-top: 10px;
text-transform: uppercase; text-transform: uppercase;
min-height: 2.1em;
} }
.container-header p { .container-header p {
@ -34,7 +35,6 @@
.about-item { .about-item {
display: flex; display: flex;
flex-wrap: wrap;
} }
.about-item .length { .about-item .length {
@ -69,3 +69,7 @@ hr {
margin-bottom: 0em; margin-bottom: 0em;
color: #aaaaaa; color: #aaaaaa;
} }
.desc {
min-height: 1.5em;
}

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<p class="mt-1 mb-2">{{dataset.description}}</p> <p class="mt-1 mb-2 desc">{{dataset.description}}</p>
</div> </div>
</div> </div>
<div class="row"> <div class="row">