✨ feat(vscode): 注释里的仓库图片按比例显示
This commit is contained in:
1 parent
57b2f2a115
commit
9faf9cde9e
13 files changed
+312
-8
No files matched your search
@@ -290,6 +290,15 @@ body:is(.vscode-light, .vscode-high-contrast-light) .cr-colored { color: var(--c
|
||||
text-decoration: underline wavy;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
/* 仓库图片:按原图比例,宽不超过注释区。点了是仓库链接,打开原图 */
|
||||
.cr-markdown .cr-repo-image img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.cr-markdown .cr-repo-image a,
|
||||
.cr-markdown .cr-repo-image a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.cr-markdown blockquote {
|
||||
padding: 0 8px;
|
||||
border-left: 3px solid var(--vscode-textBlockQuote-border);
|
||||
|
||||
Reference in new issue
Block a user