From d39a571e4695b090d31c6bf2d0378b594126b022 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Fri, 13 Jun 2025 14:06:42 +0800 Subject: [PATCH] refactor: adapt page header styles for responsive design (#7544) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind improvement /milestone 2.21.x #### What this PR does / why we need it: Adapt page header styles for responsive design before: image after: image #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/6425 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 优化移动端下文章编辑页面的样式 ``` --- .../contents/attachments/AttachmentList.vue | 44 +++--- .../modules/contents/comments/CommentList.vue | 2 +- .../contents/pages/DeletedSinglePageList.vue | 30 ++--- .../contents/pages/SinglePageEditor.vue | 125 +++++++++--------- .../modules/contents/pages/SinglePageList.vue | 38 +++--- .../contents/pages/SinglePageSnapshots.vue | 17 +-- .../contents/posts/DeletedPostList.vue | 30 ++--- .../modules/contents/posts/PostEditor.vue | 117 ++++++++-------- .../modules/contents/posts/PostList.vue | 42 +++--- .../modules/contents/posts/PostSnapshots.vue | 17 +-- .../posts/categories/CategoryList.vue | 2 +- .../modules/contents/posts/tags/TagList.vue | 2 +- .../modules/dashboard/Dashboard.vue | 2 +- .../modules/dashboard/DashboardDesigner.vue | 15 +-- .../modules/interface/menus/Menus.vue | 2 +- .../interface/themes/layouts/ThemeLayout.vue | 46 +++---- .../auth-providers/AuthProviderDetail.vue | 1 - .../system/auth-providers/AuthProviders.vue | 2 +- .../modules/system/backup/Backups.vue | 2 +- .../modules/system/overview/Overview.vue | 2 +- .../modules/system/plugins/PluginDetail.vue | 1 - .../plugins/PluginExtensionPointSettings.vue | 2 +- .../modules/system/plugins/PluginList.vue | 38 +++--- .../modules/system/roles/RoleDetail.vue | 2 +- .../modules/system/roles/RoleList.vue | 2 +- .../system/settings/SystemSettings.vue | 2 +- ui/console-src/modules/system/tools/Tools.vue | 2 +- .../modules/system/users/UserList.vue | 56 ++++---- .../src/components/header/PageHeader.vue | 54 ++++++-- .../EditorProviderSelector.vue | 4 +- .../modules/contents/posts/PostEditor.vue | 75 +++++------ ui/uc-src/modules/contents/posts/PostList.vue | 2 +- .../modules/notifications/Notifications.vue | 2 +- 33 files changed, 392 insertions(+), 388 deletions(-) diff --git a/ui/console-src/modules/contents/attachments/AttachmentList.vue b/ui/console-src/modules/contents/attachments/AttachmentList.vue index baf6432be..40ccb9694 100644 --- a/ui/console-src/modules/contents/attachments/AttachmentList.vue +++ b/ui/console-src/modules/contents/attachments/AttachmentList.vue @@ -250,31 +250,29 @@ watch( /> diff --git a/ui/console-src/modules/contents/comments/CommentList.vue b/ui/console-src/modules/contents/comments/CommentList.vue index 094ddd421..dffc1c70e 100644 --- a/ui/console-src/modules/contents/comments/CommentList.vue +++ b/ui/console-src/modules/contents/comments/CommentList.vue @@ -243,7 +243,7 @@ const handleApproveInBatch = async () => {