提交 d35ceef5 编写于 作者: M Matt Bierner

Remove extra padding on zoomed in image view

Fixes #43379
上级 79d8060a
......@@ -13,7 +13,7 @@
}
.monaco-resource-viewer.image {
padding: 10px 10px 0 10px;
padding: 0;
background-position: 0 0, 8px 8px;
background-size: 16px 16px;
display: flex;
......@@ -37,8 +37,8 @@
}
.monaco-resource-viewer img.scale-to-fit {
max-width: 100%;
max-height: 100%;
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
object-fit: contain;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册