Skip to content

Commit 756548b

Browse files
committed
Remove custom rss css class
1 parent 129f351 commit 756548b

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

app/assets/stylesheets/common.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -829,9 +829,6 @@ nav.secondary-actions {
829829
margin-bottom: $lineheight * 0.125;
830830
}
831831
}
832-
i.bi-rss-fill {
833-
color: #f69e42;
834-
}
835832
}
836833

837834
div.secondary-actions {

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def linkify(text)
1111
end
1212

1313
def rss_link_to(args = {})
14-
link_to tag.i(:class => "bi bi-rss-fill fs-6", :aria => { :hidden => "true" }), args
14+
link_to tag.i(:class => "bi bi-rss-fill fs-6 role-administrator", :aria => { :hidden => "true" }), args
1515
end
1616

1717
def dir

test/helpers/application_helper_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_linkify
3333

3434
def test_rss_link_to
3535
link = rss_link_to(:controller => :diary_entries, :action => :rss)
36-
assert_dom_equal "<a href=\"/diary/rss\"><i class=\"bi bi-rss-fill fs-6\" aria-hidden=\"true\"></i></a>", link
36+
assert_dom_equal "<a href=\"/diary/rss\"><i class=\"bi bi-rss-fill fs-6 role-administrator\" aria-hidden=\"true\"></i></a>", link
3737
end
3838

3939
def test_dir

0 commit comments

Comments
 (0)