From a50db14b3e4adb40d6ed41f7518c2f4ad9ad0ef3 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 23 Apr 2024 16:16:41 -0700 Subject: [PATCH] Fix improper formatting when AuxiliaryCmdView titlebar is missing (#596) * Fix improper formatting when AuxiliaryCmdView titlebar is missing * fix bad save --- src/app/workspace/cmdinput/auxview.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/workspace/cmdinput/auxview.less b/src/app/workspace/cmdinput/auxview.less index 5eef8f64..8253dc24 100644 --- a/src/app/workspace/cmdinput/auxview.less +++ b/src/app/workspace/cmdinput/auxview.less @@ -1,5 +1,7 @@ // For the additonal views, we want less padding on the top and bottom than we want for the base-cmdinput div .auxview { + display: flex; + flex-direction: column; overflow: hidden; height: 100%; @@ -10,6 +12,7 @@ color: var(--term-blue); padding: 6px 10px 6px 10px; display: flex; + flex: 0 0 auto; flex-direction: row; width: 100%; border-bottom: 1px solid var(--app-border-color); @@ -41,8 +44,8 @@ .auxview-content { display: flex; - height: calc(100% - var(--auxview-titlebar-height) - 13px); padding: var(--termpad) calc(var(--termpad) * 2) var(--termpad) calc(var(--termpad) * 3 - 1px); + flex: 1 1 auto; overflow-y: auto; } }