mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 06:02:47 +08:00
pad link with border
This commit is contained in:
parent
4e8a2981a7
commit
0c4e28cd0b
|
@ -214,7 +214,7 @@ module Email
|
|||
element.css('a').each do |inner|
|
||||
# we want the first footer link to be specially highlighted as IMPORTANT
|
||||
if footernum == 0 and linknum == 0
|
||||
inner['style'] = "background-color:#006699;color:#fff;padding:4px 6px;"
|
||||
inner['style'] = "font-size: 16px; font-family: Helvetica, Arial, sans-serif; background-color: #006699; color:#ffffff; border-top: 12px solid #006699; border-bottom: 12px solid #006699; border-right: 18px solid #006699; border-left: 18px solid #006699; display: inline-block;"
|
||||
else
|
||||
inner['style'] = "color:#666;"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user