提交 21b7cba0 编写于 作者: M Matt Bierner 提交者: GitHub

Fix Detected Link Style For Links With Underscores (#19645)

Fixes #12226

**Bug**
Current styling hides underscores in detected links

**Fix**
Instead of using `text-decoration: underline`, use `border-bottom` to offset the underline a bit further from the text
上级 ae3f254e
......@@ -2,20 +2,18 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-editor .detected-link {
text-decoration: underline;
.monaco-editor .detected-link,
.monaco-editor .detected-link-active {
border-bottom: 1px solid;
border-color: currentColor;
text-decoration: none !important;
}
.monaco-editor .detected-link-active {
text-decoration: underline;
cursor: pointer;
color: blue !important;
}
.monaco-editor.vs-dark .detected-link {
border-color: #1C5DAF;
}
.monaco-editor.vs-dark .detected-link-active {
color: #4E94CE !important;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册