Remove custom css for OpenID logo

This commit is contained in:
Anton Khorev 2023-08-10 19:27:48 +03:00
parent 38369675b7
commit 113c32f65e
3 changed files with 2 additions and 9 deletions

View file

@ -1262,13 +1262,6 @@ dl.dl-inline {
}
}
/* Rules for OpenID logo */
.openid_logo {
vertical-align: text-bottom;
border: 0;
}
/* Rules for rich text */
.richtext,

View file

@ -53,7 +53,7 @@ module UserHelper
# External authentication support
def openid_logo
image_tag "openid_small.png", :alt => t("sessions.new.openid_logo_alt"), :class => "openid_logo"
image_tag "openid_small.png", :alt => t("sessions.new.openid_logo_alt"), :class => "align-text-bottom"
end
def auth_button(name, provider, options = {})

View file

@ -111,7 +111,7 @@ class UserHelperTest < ActionView::TestCase
def test_openid_logo
logo = openid_logo
assert_match %r{^<img .* class="openid_logo" src="/images/openid_small.png" />$}, logo
assert_match %r{^<img .* src="/images/openid_small.png" />$}, logo
end
def test_auth_button