mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Merge pull request #305 from sn31/landing-page-cards
Fix heights for landing page cards
This commit is contained in:
commit
c6dda5083c
@ -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;
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user