fix small css issue

This commit is contained in:
Lorin Werthen 2021-02-26 13:24:57 +01:00
parent b140a9c365
commit 857002b7d7
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -21,7 +21,9 @@
<% unless upcoming_events.empty? %>
<div class="tile is-parent">
<div class="tile is-child">
<span class="title is-1 underline--magical" style='display: inline-block'>Upcoming Events</span>
<div class="block">
<span class="title is-1 underline--magical">Upcoming Events</span>
</div>
<% upcoming_events.each do |event| %>
<div class="block">
<%= render '/partials/_events_tile.*', event: event %>
@ -33,7 +35,9 @@
<div class="tile">
<div class="tile is-parent">
<div class="tile is-child">
<span class="title is-1 underline--magical" style='display: inline-block'>Previous Events</span>
<div class="block">
<span class="title is-1 underline--magical">Previous Events</span>
</div>
<% previous_events[0..2].each do |event| %>
<div class="block">
<%= render '/partials/_events_tile.*', event: event %>
@ -43,7 +47,9 @@
</div>
<div class="tile is-parent">
<div class="tile is-child">
<span class="title is-1 underline--magical" style='display: inline-block'>Blogposts</span>
<div class="block">
<span class="title is-1 underline--magical">Blogposts</span>
</div>
<% sorted_articles[0..3].each do |post| %>
<%= render '/partials/_blog_preview.*', post: post %>
<%end%>
@ -54,7 +60,9 @@
<!--top coders -->
<div class="tile is-parent">
<div class="tile is-child">
<span class="title is-1 underline--magical" style='display: inline-block'>Top Coders</span>
<div class="block">
<span class="title is-1 underline--magical">Top Coders</span>
</div>
<div class="box gamification-tile">
<div class="content">
<div class="tile-header">