Skip to content

Commit

Permalink
enhance(site-editor): css in small devices
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Feb 6, 2025
1 parent 13a1cd8 commit f423b65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions app/src/views/site/ngx_conf/LocationEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -175,6 +173,6 @@ function duplicate(index: number) {
}
:deep(.ant-collapse-header-text) {
width: 95%;
max-width: calc(90% - 56px);
}
</style>
2 changes: 1 addition & 1 deletion app/src/views/site/site_edit/SiteEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ provide('data', data)
</script>

<template>
<ARow :gutter="16">
<ARow :gutter="[{ xs: 0, sm: 16 }, 16]">
<ACol
:xs="24"
:sm="24"
Expand Down

0 comments on commit f423b65

Please sign in to comment.