adjusting layout of base when calling

This commit is contained in:
Roland Osborne 2025-02-28 16:41:33 -08:00
parent 15c5170d7e
commit b41ee8f9d3
3 changed files with 14 additions and 1 deletions

View File

@ -21,6 +21,7 @@
padding-right: 32px;
gap: 8px;
background-color: var(--mantine-color-surface-4);
z-index: 1;
}
.card {
padding: 8px;

View File

@ -70,6 +70,7 @@
}
.right {
position: relative;
height: 100%;
flex-grow: 1;
min-width: 0;
@ -77,6 +78,13 @@
display: flex;
flex-direction: column;
.base {
display: flex;
position: absolute;
width: 100%;
height: 100%;
}
.conversation {
display: flex;
height: 0;

View File

@ -140,9 +140,13 @@ export function Session() {
</div>
</div>
<div className={classes.right}>
{!state.focus && (
<div className={classes.base}>
<Base />
</div>
)}
<Ring />
<div className={classes.conversation}>
{!state.focus && <Base />}
{state.focus && <Conversation openDetails={openDetails} />}
</div>
</div>