[deploy] Show Empty State in Badges List for Mobile Views (#4756)

This commit is contained in:
Francisco Quintero 2020-05-13 11:26:17 -05:00 committed by GitHub
parent f21f4958bd
commit 547c568daf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,4 +54,24 @@
<% end %>
</div>
</div>
<% else %>
<style>
.widget-body {
margin: 0 auto;
padding: 20px;
}
@media screen and (min-width: 1024px) {
.no-badges-text {
display: none;
}
}
</style>
<div style="overflow: visible;padding-top:20px;">
<div class="widget-body">
<p class="no-badges-text">
Eat and than sleep on your face annoy the old grumpy cat, start a fight and then retreat to wash when I lose and I shall purr myself to sleep or run around the house at 4 in the morning.
</p>
</div>
</div>
<% end %>