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

View file

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