diff --git a/editor/inspector/assets/fbx/event-editor/event-item.js b/editor/inspector/assets/fbx/event-editor/event-item.js
index e3e17db8e4..65c525958c 100644
--- a/editor/inspector/assets/fbx/event-editor/event-item.js
+++ b/editor/inspector/assets/fbx/event-editor/event-item.js
@@ -8,7 +8,7 @@ const defaultParams = {
exports.template = /* html */`
-
+
diff --git a/editor/inspector/components/widget.js b/editor/inspector/components/widget.js
index 82cc2a65d5..ac44f97935 100644
--- a/editor/inspector/components/widget.js
+++ b/editor/inspector/components/widget.js
@@ -7,6 +7,8 @@ module.paths.push(join(Editor.App.path, 'node_modules'));
const Vue = require('vue/dist/vue.min.js');
const propUtils = require('../utils/prop');
+const cssMediaWidth = 340;
+
exports.template = `