Skip to content
代码片段 群组 项目
提交 e2c5bd4b 编辑于 作者: Steve Mokris's avatar Steve Mokris
浏览文件

In emails, style implicit links too

Fixes issue where, when some email clients (macOS/iOS Mail.app)
automatically turn text into links, the links had different styling than
other (explicit) links.

Changelog: changed
上级 93f4e26c
No related branches found
No related tags found
无相关合并请求
......@@ -32,10 +32,6 @@ body {
font-size: inherit;
}
a {
text-decoration: none;
}
.gl-mb-5 {
@include gl-mb-5;
}
......
......@@ -5,6 +5,10 @@
GitLab
- if Feature.enabled?(:enhanced_notify_css)
= stylesheet_link_tag 'notify_enhanced'
%style{ type: 'text/css', 'data-premailer': 'ignore' }
-# The MUA automatically turns some text into links.
-# Match the color of explicit links ($blue-600 from typography.scss).
a { color: #1068bf; }
- else
= stylesheet_link_tag 'notify'
= yield :head
......
......@@ -7,6 +7,10 @@
-# haml-lint:enable NoPlainNodes
- if Feature.enabled?(:enhanced_notify_css)
= stylesheet_link_tag 'notify_enhanced'
%style{ type: 'text/css', 'data-premailer': 'ignore' }
-# The MUA automatically turns some text into links.
-# Match the color of explicit links ($blue-600 from typography.scss).
a { color: #1068bf; }
- else
= stylesheet_link_tag 'notify'
= yield :head
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册