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 -18
View File
@@ -34,7 +34,7 @@ function handleSelect(category: string, skill: string) {
<template>
<div class="skills-view">
<header class="skills-header">
<header class="page-header">
<h2 class="header-title">{{ t('skills.title') }}</h2>
<NInput
v-model:value="searchQuery"
@@ -85,23 +85,6 @@ function handleSelect(category: string, skill: string) {
flex-direction: column;
}
.skills-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
border-bottom: 1px solid $border-color;
flex-shrink: 0;
gap: 12px;
}
.header-title {
font-size: 16px;
font-weight: 600;
color: $text-primary;
flex-shrink: 0;
}
.search-input {
width: 220px;
}