Skip to content

Commit f423b65

Browse files
committed
enhance(site-editor): css in small devices
1 parent 13a1cd8 commit f423b65

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

app/src/views/site/ngx_conf/LocationEditor.vue

+4-6
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,9 @@ function duplicate(index: number) {
6464
>
6565
<ACollapsePanel>
6666
<template #header>
67-
<div>
68-
<HolderOutlined />
69-
{{ $gettext('Location') }}
70-
{{ v.path }}
71-
</div>
67+
<HolderOutlined />
68+
{{ $gettext('Location') }}
69+
{{ v.path }}
7270
</template>
7371
<template
7472
v-if="!readonly"
@@ -175,6 +173,6 @@ function duplicate(index: number) {
175173
}
176174
177175
:deep(.ant-collapse-header-text) {
178-
width: 95%;
176+
max-width: calc(90% - 56px);
179177
}
180178
</style>

app/src/views/site/site_edit/SiteEdit.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ provide('data', data)
166166
</script>
167167

168168
<template>
169-
<ARow :gutter="16">
169+
<ARow :gutter="[{ xs: 0, sm: 16 }, 16]">
170170
<ACol
171171
:xs="24"
172172
:sm="24"

0 commit comments

Comments
 (0)