mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
adjusting layout of base when calling
This commit is contained in:
parent
15c5170d7e
commit
b41ee8f9d3
@ -21,6 +21,7 @@
|
||||
padding-right: 32px;
|
||||
gap: 8px;
|
||||
background-color: var(--mantine-color-surface-4);
|
||||
z-index: 1;
|
||||
}
|
||||
.card {
|
||||
padding: 8px;
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user