Skip to content

Commit 5475e43

Browse files
committed
Merge pull request #124 from Mileshosky/fix/card-padding
Empty header to fix general styling issues for protip cards.
2 parents c9fd3f3 + 16075c5 commit 5475e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/protips/_mini.html.haml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- protip = protip.load #this is simply a hack, fix ES indexed json
22
%article{:class => dom_class(protip), :id => protip.public_id}
3-
-if display_protip_stats?(protip)
4-
%header
3+
%header
4+
-if display_protip_stats?(protip)
55
%span{:class => protip_stat_class(protip)}
66
= formatted_best_stat_value(protip) unless best_stat_name(protip) =~ /hawt/
77

0 commit comments

Comments
 (0)