统一后台页面为全宽布局
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
</a-layout-header>
|
</a-layout-header>
|
||||||
|
|
||||||
<a-layout-content class="content">
|
<a-layout-content class="content">
|
||||||
<div class="content-shell" :class="{ 'content-shell--left-aligned': route.path === '/admin/settings' }">
|
<div class="content-shell">
|
||||||
<router-view />
|
<router-view />
|
||||||
</div>
|
</div>
|
||||||
</a-layout-content>
|
</a-layout-content>
|
||||||
@@ -551,8 +551,6 @@ onMounted(async () => {
|
|||||||
|
|
||||||
.header-shell {
|
.header-shell {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: var(--admin-content-max-width);
|
|
||||||
margin: 0 auto;
|
|
||||||
min-height: 64px;
|
min-height: 64px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -710,13 +708,6 @@ onMounted(async () => {
|
|||||||
|
|
||||||
.content-shell {
|
.content-shell {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: var(--admin-content-max-width);
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content-shell--left-aligned {
|
|
||||||
max-width: none;
|
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 960px) {
|
@media (max-width: 960px) {
|
||||||
|
|||||||
@@ -477,13 +477,10 @@ onMounted(loadData)
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.system-messages {
|
.system-messages {
|
||||||
padding: 18px;
|
padding: 18px;
|
||||||
max-width: 1180px;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-page-head {
|
.message-page-head {
|
||||||
max-width: 1120px;
|
margin: 0 0 12px;
|
||||||
margin: 0 auto 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-page-head :deep(.ant-page-header) {
|
.message-page-head :deep(.ant-page-header) {
|
||||||
@@ -496,8 +493,7 @@ onMounted(loadData)
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-composer-shell {
|
.message-composer-shell {
|
||||||
max-width: 1120px;
|
margin: 0 0 24px;
|
||||||
margin: 0 auto 24px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-composer-grid {
|
.message-composer-grid {
|
||||||
@@ -623,10 +619,7 @@ onMounted(loadData)
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-section-card {
|
.admin-section-card {
|
||||||
max-width: 1120px;
|
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
border: 1px solid var(--theme-border);
|
border: 1px solid var(--theme-border);
|
||||||
border-radius: 18px;
|
border-radius: 18px;
|
||||||
box-shadow: 0 18px 42px color-mix(in srgb, var(--theme-primary) 10%, transparent);
|
box-shadow: 0 18px 42px color-mix(in srgb, var(--theme-primary) 10%, transparent);
|
||||||
|
|||||||
Reference in New Issue
Block a user