From a94bab365e1b5b6b7371911d77f0e63618c9b54a Mon Sep 17 00:00:00 2001 From: lisonge Date: Mon, 22 Apr 2024 14:16:32 +0800 Subject: [PATCH] perf: rm inline bottom margin --- src/App.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/App.vue b/src/App.vue index 93ce977..90e92a5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,4 +51,16 @@ import ErrorDlg from './components/ErrorDlg.vue'; 0 9px 18px 8px rgba(0, 0, 0, 0.1); } } + +// 移除 inline 元素的空白间隙 +img, +svg, +video, +canvas, +audio, +iframe, +embed, +object { + display: block; +}