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
+8 -21
View File
@@ -86,7 +86,7 @@ onMounted(async () => {
<template>
<div class="logs-view">
<header class="logs-header">
<header class="page-header">
<h2 class="header-title">{{ t('logs.title') }}</h2>
<div class="header-actions">
<NSelect
@@ -158,29 +158,16 @@ onMounted(async () => {
flex-direction: column;
}
.logs-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
border-bottom: 1px solid $border-color;
flex-shrink: 0;
.page-header {
gap: 12px;
flex-wrap: wrap;
}
.header-title {
font-size: 16px;
font-weight: 600;
color: $text-primary;
white-space: nowrap;
}
.header-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.header-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.search-input {