With titleBarStyle: "Overlay" in Tauri, 100vh in WKWebView includes the overlaid title bar area, making the app-shell taller than the visible viewport. The 30px StatusBar (including the Commit button) was pushed below the visible area and clipped by overflow:hidden. Using height:100% chains from html→body→#root→app-shell to correctly constrain to the visible viewport. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
79 lines
1.4 KiB
CSS
79 lines
1.4 KiB
CSS
/* App layout - minimal CSS, most styling via Tailwind */
|
|
.app-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
box-shadow: inset 0 0 0 1px var(--border-primary);
|
|
}
|
|
|
|
.app {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app__sidebar {
|
|
flex-shrink: 1;
|
|
min-width: 180px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app__sidebar > * {
|
|
flex: 1;
|
|
}
|
|
|
|
.app__note-list {
|
|
flex-shrink: 10;
|
|
min-width: 220px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app__note-list > * {
|
|
flex: 1;
|
|
}
|
|
|
|
.app__editor {
|
|
flex: 1;
|
|
min-width: 400px;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
container-type: inline-size;
|
|
container-name: editor;
|
|
}
|
|
|
|
.app__editor > * {
|
|
flex: 1;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes tab-status-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.3; }
|
|
}
|
|
|
|
.tab-status-pulse {
|
|
animation: tab-status-pulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
/* AI highlight animation — applied by useAiActivity when MCP calls ui_highlight */
|
|
@keyframes ai-highlight-glow {
|
|
0% { box-shadow: inset 0 0 0 2px rgba(99, 102, 241, 0.8); }
|
|
50% { box-shadow: inset 0 0 8px 2px rgba(99, 102, 241, 0.4); }
|
|
100% { box-shadow: inset 0 0 0 2px rgba(99, 102, 241, 0); }
|
|
}
|
|
|
|
.ai-highlight {
|
|
animation: ai-highlight-glow 0.8s ease-out;
|
|
}
|