Modify badge page title size (#387)

* Flush users after badge reward

* Modify badge page title size
This commit is contained in:
Ben Halpern 2018-06-05 10:35:44 -04:00 committed by GitHub
parent 7b6d188e40
commit d30e5f63ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
<div class="blank-space"></div>
</header>
<div class="container article">
<h1 style="text-align: center;font-size:calc(2.35vw + <%= 30 - @badge.title.size/2 %>px)">🏅 <%= @badge.title %> Badge 🏅</h1>
<h1 style="text-align: center;font-size:calc(2vw + <%= 29 - @badge.title.size/2 %>px)">🏅 <%= @badge.title %> Badge 🏅</h1>
<div class="body" style="text-align: center">
<p>
<img src="<%= cloudinary @badge.badge_image_url, 375 %>" style="height: 250px" />