Merge pull request #305 from sn31/landing-page-cards

Fix heights for landing page cards
This commit is contained in:
Andrew Brown 2018-11-08 18:05:28 -06:00 committed by GitHub
commit c6dda5083c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -2,3 +2,17 @@
.row .col {
padding: 0 0.25rem !important;
}
@media only screen and (min-width: 1024px) {
.fixed-card-content
{
height: 8em;
}
}
@media only screen and (max-width: 1024px) {
.fixed-card-content
{
height: 10em;
}
}

View File

@ -8,7 +8,7 @@
<%= image_tag "card-headers/#{content_name.pluralize}.jpg", height: 300, width: 300 %>
<span class="card-title">Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %></span>
</div>
<div class="card-content">
<div class="card-content fixed-card-content">
<p>
<%= t("content_descriptions.#{content_name}") %>
</p>