Remove custom css for OpenID logo
This commit is contained in:
parent
38369675b7
commit
113c32f65e
3 changed files with 2 additions and 9 deletions
|
@ -1262,13 +1262,6 @@ dl.dl-inline {
|
|||
}
|
||||
}
|
||||
|
||||
/* Rules for OpenID logo */
|
||||
|
||||
.openid_logo {
|
||||
vertical-align: text-bottom;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Rules for rich text */
|
||||
|
||||
.richtext,
|
||||
|
|
|
@ -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 = {})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue