-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
There should be a helper for stacked icons. Using the example from: http://fortawesome.github.io/Font-Awesome/examples/#stacked
<span class="fa-stack fa-lg">
<i class="fa fa-camera fa-stack-1x"></i>
<i class="fa fa-ban fa-stack-2x text-danger"></i>
</span>Right now this could be implemented using the icon helper like this:
<span class="fa-stack fa-lg">
<%= icon("camera", "", class: "fa-stack-1x") %>
<%= icon("ban", "", class: "fa-stack-2x text-danger") %>
</span>I think there should be a helper specifically for stacked icons. It could be written like this:
<%= stacked_icon(
icon("camera", "", class: "fa-stack-1x"), # The first icon to stack
icon("ban", "", class: "fa-stack-2x text-danger"), # The second icon to stack
class: "fa-lg" # Additional classes for fa-stack
) %>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels