Fix improper formatting when AuxiliaryCmdView titlebar is missing (#596)

* Fix improper formatting when AuxiliaryCmdView titlebar is missing

* fix bad save
This commit is contained in:
Evan Simkowitz 2024-04-23 16:16:41 -07:00 committed by GitHub
parent 6308c6c4b0
commit a50db14b3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 // For the additonal views, we want less padding on the top and bottom than we want for the base-cmdinput div
.auxview { .auxview {
display: flex;
flex-direction: column;
overflow: hidden; overflow: hidden;
height: 100%; height: 100%;
@ -10,6 +12,7 @@
color: var(--term-blue); color: var(--term-blue);
padding: 6px 10px 6px 10px; padding: 6px 10px 6px 10px;
display: flex; display: flex;
flex: 0 0 auto;
flex-direction: row; flex-direction: row;
width: 100%; width: 100%;
border-bottom: 1px solid var(--app-border-color); border-bottom: 1px solid var(--app-border-color);
@ -41,8 +44,8 @@
.auxview-content { .auxview-content {
display: flex; display: flex;
height: calc(100% - var(--auxview-titlebar-height) - 13px);
padding: var(--termpad) calc(var(--termpad) * 2) var(--termpad) calc(var(--termpad) * 3 - 1px); padding: var(--termpad) calc(var(--termpad) * 2) var(--termpad) calc(var(--termpad) * 3 - 1px);
flex: 1 1 auto;
overflow-y: auto; overflow-y: auto;
} }
} }