diff --git a/src/app/layouts/AppLayout.vue b/src/app/layouts/AppLayout.vue index b898f25..b0e513e 100644 --- a/src/app/layouts/AppLayout.vue +++ b/src/app/layouts/AppLayout.vue @@ -112,6 +112,11 @@ watch(collapsed, (val) => { height: 100vh; } +/* 移除布局的横向overflow限制,避免右侧边栏被裁剪 */ +:deep(.n-layout .n-layout-scroll-container) { + overflow-x: visible; +} + .content-wrapper { padding: 20px; min-height: calc(100vh - 64px); diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json index 47ab5ee..832c81f 100644 --- a/src/locales/zh-CN.json +++ b/src/locales/zh-CN.json @@ -1114,6 +1114,7 @@ "add background, background color, image background, transparent background, online background tool, image processing, background editor, free tool": "添加背景、背景颜色、图片背景、透明背景、在线背景工具、图片处理、背景编辑器、免费工具", "Background Color": "背景颜色", "Color Tones": "色调", + "Common Colors": "常用颜色", "Apply Background": "应用背景", "Applying background...": "正在应用背景...", "Add New Image": "添加新图片",