Luca448 commited on
Commit
72a33a8
·
1 Parent(s): 20b8ea7

Savestate: Always show 'Mein Vault' as header title and apply sticky header globally, bump version to 1.8.10

Browse files
index.html CHANGED
@@ -51,7 +51,7 @@
51
  </head>
52
  <body class="dark-theme in-chat-view">
53
 
54
- <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.8</div>
55
 
56
  <!-- SVG Filters for Liquid Glass Refraction -->
57
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
 
51
  </head>
52
  <body class="dark-theme in-chat-view">
53
 
54
+ <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.10</div>
55
 
56
  <!-- SVG Filters for Liquid Glass Refraction -->
57
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
src/styles/global.css CHANGED
@@ -3443,6 +3443,25 @@ body.in-chat-view .tts-player-container {
3443
  gap: 12px;
3444
  margin-bottom: 20px;
3445
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3446
  .vault-header-left {
3447
  display: flex;
3448
  flex-direction: column;
 
3443
  gap: 12px;
3444
  margin-bottom: 20px;
3445
  }
3446
+
3447
+ .vault-header-sticky {
3448
+ position: sticky;
3449
+ top: -20px;
3450
+ z-index: 50;
3451
+ padding-top: 20px;
3452
+ padding-bottom: 32px;
3453
+ margin-top: -20px;
3454
+ margin-bottom: -12px !important;
3455
+ margin-left: -16px;
3456
+ margin-right: -16px;
3457
+ padding-left: 16px;
3458
+ padding-right: 16px;
3459
+ background: linear-gradient(to bottom, #050a14 0%, rgba(5,10,20,0.9) 40%, transparent 100%);
3460
+ pointer-events: none;
3461
+ }
3462
+ .vault-header-sticky > * {
3463
+ pointer-events: auto;
3464
+ }
3465
  .vault-header-left {
3466
  display: flex;
3467
  flex-direction: column;
src/views/documents/documents-view.js CHANGED
@@ -40,7 +40,7 @@ export class DocumentsView {
40
  this.container.innerHTML = `
41
  <div id="vault-glass-wrapper">
42
 
43
- <div class="vault-header" style="margin-bottom: 4px; align-items: center;">
44
  <div class="vault-header-left" style="display: flex; align-items: center;">
45
  <h2 class="vault-header-title" style="display: flex; align-items: center; margin: 0;">
46
  ${this.currentPath ? `
@@ -48,7 +48,7 @@ export class DocumentsView {
48
  <svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"></polyline></svg>
49
  </button>
50
  ` : ''}
51
- ${this.currentPath ? this.currentPath.split('/').pop() : 'Mein Vault'}
52
  </h2>
53
  </div>
54
  <div class="vault-header-actions" style="display: flex; gap: 12px;">
 
40
  this.container.innerHTML = `
41
  <div id="vault-glass-wrapper">
42
 
43
+ <div class="vault-header vault-header-sticky" style="margin-bottom: 4px; align-items: center;">
44
  <div class="vault-header-left" style="display: flex; align-items: center;">
45
  <h2 class="vault-header-title" style="display: flex; align-items: center; margin: 0;">
46
  ${this.currentPath ? `
 
48
  <svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"></polyline></svg>
49
  </button>
50
  ` : ''}
51
+ Mein Vault
52
  </h2>
53
  </div>
54
  <div class="vault-header-actions" style="display: flex; gap: 12px;">