Skip to content

Commit e8cd507

Browse files
Kasper Jungeclaude
authored andcommitted
fix: keep primitive editor action bar visible so users can save without scrolling
The Save/Delete/Cancel buttons were pushed below the viewport fold by the content textarea. Make the editor a flex column with constrained max-height so the body scrolls internally while actions stay pinned at the bottom. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5266696 commit e8cd507

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/ralphify/ui/static/dashboard.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,9 @@ body {
13981398
border: 1px solid var(--border);
13991399
box-shadow: var(--shadow);
14001400
overflow: hidden;
1401+
display: flex;
1402+
flex-direction: column;
1403+
max-height: calc(100vh - var(--controls-height) - 94px);
14011404
}
14021405

14031406
.prim-editor-header {
@@ -1419,6 +1422,9 @@ body {
14191422

14201423
.prim-editor-body {
14211424
padding: 24px;
1425+
flex: 1;
1426+
min-height: 0;
1427+
overflow-y: auto;
14221428
}
14231429

14241430
.prim-editor-fields {

0 commit comments

Comments
 (0)