refactor: remove unused width prop for post title field (#7545)

#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.21.x

#### What this PR does / why we need it:

Remove unused width prop for post title field

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/7549/head
Ryan Wang 2025-06-13 14:50:42 +08:00 committed by GitHub
parent d39a571e46
commit f59e3a2909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 3 deletions

View File

@ -317,7 +317,7 @@ watch(
/> />
</template> </template>
<template #start> <template #start>
<VEntityField :title="post.post.spec.title" width="27rem"> <VEntityField :title="post.post.spec.title">
<template #description> <template #description>
<div class="flex flex-col gap-1.5"> <div class="flex flex-col gap-1.5">
<VSpace class="flex-wrap !gap-y-1"> <VSpace class="flex-wrap !gap-y-1">

View File

@ -33,7 +33,6 @@ const externalUrl = computed(() => {
name: 'PostEditor', name: 'PostEditor',
query: { name: post.post.metadata.name }, query: { name: post.post.metadata.name },
}" }"
width="27rem"
> >
<template #extra> <template #extra>
<VSpace> <VSpace>

View File

@ -138,7 +138,6 @@ function handleDelete() {
name: 'PostEditor', name: 'PostEditor',
query: { name: post.post.metadata.name }, query: { name: post.post.metadata.name },
}" }"
width="27rem"
> >
<template #extra> <template #extra>
<VSpace class="mt-1 sm:mt-0"> <VSpace class="mt-1 sm:mt-0">