Browse Source

Create bullet class for div

master
Norore 4 years ago
parent
commit
11627e52e6
  1. 2
      app/assets/stylesheets/sites.sass
  2. 2
      app/views/sites/index.html.erb

2
app/assets/stylesheets/sites.sass

@ -4,7 +4,7 @@
@import "knacss"
div::before
div.bullet::before
content: "· "
.yellow

2
app/views/sites/index.html.erb

@ -15,7 +15,7 @@
when changed_at > 7.days.ago.to_date
:yellow
end
classes = (%i[mls].concat([colorclass])).compact %>
classes = (%i[mls bullet].concat([colorclass])).compact %>
<%= content_tag(:div, class: classes) do
concat link_to (site.name || site.url), site
concat " (last changed: #{l changed_at})" if changed_at

Loading…
Cancel
Save