* flare tag line height * . * init * widgets * widgets lists * new tabs on home * instantclick * . * rethinking css * . * . * empty space * init * campaign widget * . * merge * . * update layout * fix sidebars on home page * . * fix onboarding x * test * spec * test * toolbar fix * more * test * better handling ads * . * spec * card border * . * . * actions bar * cleanup * animation * test * button width * . * better responsiveness and author boxes * meta info * padding * better animation * optimize videos * fixes * spec * . * codeblocks in comments * whoops * Use .present? correctly as it preloads items * sticky nav * Update app/views/articles/_sticky_nav.html.erb I don't know what I'm doing but @benhalpern says so!e8c0f337a5 (r440248874)Co-authored-by: Ben Halpern <bendhalpern@gmail.com> * Update app/views/articles/show.html.erb I don't know what I'm doing but @benhalpern says so!e8c0f337a5 (r440247802)Co-authored-by: Ben Halpern <bendhalpern@gmail.com> * little fixes * Update app/assets/stylesheets/article-show.scss Co-authored-by: Ben Halpern <bendhalpern@gmail.com> * pawel updating ruby code...... * actually better merge * semantic updates * . Co-authored-by: rhymes <rhymesete@gmail.com> Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
14 lines
727 B
Text
14 lines
727 B
Text
<button
|
|
role="checkbox"
|
|
id="reaction-butt-<%= category %>"
|
|
class="crayons-reaction crayons-reaction--<%= category %>"
|
|
data-category="<%= category %>"
|
|
title="<%= description %>">
|
|
<span class="crayons-reaction__icon crayons-reaction__icon--inactive">
|
|
<%= inline_svg_tag(image_path, aria: true, class: "crayons-icon", title: description) %>
|
|
</span>
|
|
<span class="crayons-reaction__icon crayons-reaction__icon--active">
|
|
<%= inline_svg_tag(image_active_path, aria: true, class: "crayons-icon", title: description) %>
|
|
</span>
|
|
<span class="crayons-reaction__count" id="reaction-number-<%= category %>" alt="count"><span class="bg-base-40 opacity-25 p-2 inline-block radius-default"></span></span>
|
|
</button>
|