fix: unify page header styles across all views

- Extract shared .page-header and .header-title to global.scss
- Standardize padding to 21px 20px matching sidebar logo height
- Fix Usage page layout to flex column with standard header
- Fix Logs page header CSS selector after class rename
- Normalize button sizes to small across all headers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-15 08:50:10 +08:00
parent 66cc9a6f1e
commit 29f19ddb30
11 changed files with 65 additions and 149 deletions
+1 -15
View File
@@ -30,7 +30,7 @@ async function saveApiServer(values: Record<string, any>) {
<template>
<div class="settings-view">
<header class="settings-header">
<header class="page-header">
<h2 class="header-title">{{ t('settings.title') }}</h2>
</header>
@@ -107,20 +107,6 @@ async function saveApiServer(values: Record<string, any>) {
flex-direction: column;
}
.settings-header {
display: flex;
align-items: center;
padding: 12px 20px;
border-bottom: 1px solid $border-color;
flex-shrink: 0;
}
.header-title {
font-size: 16px;
font-weight: 600;
color: $text-primary;
}
.settings-content {
flex: 1;
overflow-y: auto;