feat(project-editor): header layout + sticky option
- HeaderConfig gains sticky (default true) and layout ('default'|'centered')
- header editor exposes layout select + sticky toggle
- runtime header component applies static/centered classes from config
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!-- platform VERSION - Redesigned 2026 -->
|
||||
<header class="platform-header">
|
||||
<header class="platform-header" [class.platform-header--static]="headerConfig().sticky === false" [class.platform-header--centered]="headerConfig().layout === 'centered'">
|
||||
<div class="platform-header-container">
|
||||
<!-- Logo -->
|
||||
@if (headerConfig().showLogo) {
|
||||
|
||||
@@ -501,6 +501,14 @@
|
||||
z-index: 1000;
|
||||
backdrop-filter: blur(10px);
|
||||
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
|
||||
&--static {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
.platform-header--centered .platform-header-container {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.platform-header-container {
|
||||
|
||||
Reference in New Issue
Block a user