diff --git a/packages/components/src/components/entity/EntityField.vue b/packages/components/src/components/entity/EntityField.vue index 5ab9abfdc..c0842107c 100644 --- a/packages/components/src/components/entity/EntityField.vue +++ b/packages/components/src/components/entity/EntityField.vue @@ -23,8 +23,11 @@ const emit = defineEmits<{ const wrapperStyles = computed(() => { if (props.width) { + const width = + typeof props.width === "string" ? props.width : `${props.width}px`; return { - width: typeof props.width === "string" ? props.width : `${props.width}px`, + width, + maxWidth: width, }; } return {}; diff --git a/src/modules/contents/posts/DeletedPostList.vue b/src/modules/contents/posts/DeletedPostList.vue index 273f956f1..7e8022b09 100644 --- a/src/modules/contents/posts/DeletedPostList.vue +++ b/src/modules/contents/posts/DeletedPostList.vue @@ -346,7 +346,7 @@ function handleClearKeyword() { />