Skip to content

Commit

Permalink
fix(output-preview-panel): 修正因img默认为行内块元素而导致的一些细节问题(可能由行高导致),详见下方注释
Browse files Browse the repository at this point in the history
1. 在其容器高度缩到很小时,其位置居于容器底部,且上部与面板标题栏之间出现间隙
2. 导出SVG时下方出现透明间隙
  • Loading branch information
gogoend committed Nov 21, 2022
1 parent bdfc9a9 commit e5f8ad2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/AppMain/components/OutputPreviewPanel/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,11 @@ export default defineComponent({
left: 0;
}
&__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
filter: url(#previewingFilter)
filter: url(#previewingFilter);
}
&__image-placeholder {
display: flex;
Expand Down

0 comments on commit e5f8ad2

Please sign in to comment.