enhance(site-editor): css in small devices

This commit is contained in:
Jacky 2025-02-06 11:15:04 +08:00
parent 13a1cd800e
commit f423b6599c
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 5 additions and 7 deletions

View file

@ -64,11 +64,9 @@ function duplicate(index: number) {
> >
<ACollapsePanel> <ACollapsePanel>
<template #header> <template #header>
<div> <HolderOutlined />
<HolderOutlined /> {{ $gettext('Location') }}
{{ $gettext('Location') }} {{ v.path }}
{{ v.path }}
</div>
</template> </template>
<template <template
v-if="!readonly" v-if="!readonly"
@ -175,6 +173,6 @@ function duplicate(index: number) {
} }
:deep(.ant-collapse-header-text) { :deep(.ant-collapse-header-text) {
width: 95%; max-width: calc(90% - 56px);
} }
</style> </style>

View file

@ -166,7 +166,7 @@ provide('data', data)
</script> </script>
<template> <template>
<ARow :gutter="16"> <ARow :gutter="[{ xs: 0, sm: 16 }, 16]">
<ACol <ACol
:xs="24" :xs="24"
:sm="24" :sm="24"