Skip to content

Commit 567a11f

Browse files
committed
fix call view
Signed-off-by: Shea <nu@she-a.eu>
1 parent 1fa463f commit 567a11f

3 files changed

Lines changed: 28 additions & 26 deletions

File tree

src/app/pages/client/SidebarNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function SidebarNav() {
163163
)}
164164

165165
{isCollapsed && <SettingsTab />}
166-
<Box style={{ height: toRem(70) }} alignItems="Center">
166+
<Box style={{ height: toRem(58) }} alignItems="Center">
167167
<AccountSwitcherTab />
168168
</Box>
169169
</>

src/app/pages/client/sidebar/UserQuickTools.css.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { color, config, toRem } from 'folds';
44
export const UserQuickTools = style({
55
backgroundColor: color.SurfaceVariant.Container,
66
color: color.SurfaceVariant.OnContainer,
7-
position: 'fixed',
7+
position: 'absolute',
88
zIndex: '1000',
99
height: toRem(74),
1010
bottom: '0',
11-
left: '0',
11+
left: toRem(-66),
1212
padding: config.space.S300,
1313
borderTop: `${config.borderWidth.B300} solid ${color.Background.ContainerLine}`,
1414
});

src/app/pages/client/sidebar/UserQuickTools.tsx

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,36 @@ export function UserQuickTools({
2727
<>
2828
{/* Doing it properly and nicely would require a major rewrite that would cause more trouble*/}
2929
{!isCollapsed && (
30-
<Box
31-
direction="Row"
32-
justifyContent="SpaceBetween"
33-
alignItems="Center"
34-
className={css.UserQuickTools}
35-
style={{
36-
opacity: isResizingSidebar ? '0%' : '100%',
37-
transition: isResizingSidebar ? 'opacity 0.2s ease' : 'opacity 0.5s ease',
38-
width: compact ? '100%' : toRem(width),
39-
paddingRight: config.space.S300,
40-
}}
41-
>
42-
<AccountSwitcherTab isBottom />
30+
<div style={{ position: 'relative' }}>
4331
<Box
32+
direction="Row"
33+
justifyContent="SpaceBetween"
34+
alignItems="Center"
35+
className={css.UserQuickTools}
4436
style={{
45-
gap: config.space.S300,
37+
opacity: isResizingSidebar ? '0%' : '100%',
38+
transition: isResizingSidebar ? 'opacity 0.2s ease' : 'opacity 0.5s ease',
39+
width: compact ? '100vw' : toRem(width),
40+
paddingRight: config.space.S300,
4641
}}
4742
>
48-
{!underOutstep && (
49-
<>
50-
<UnverifiedTab isBottom />
51-
<InboxTab isBottom />
52-
<SearchTab isBottom />
53-
</>
54-
)}
55-
<SettingsTab isBottom />
43+
<AccountSwitcherTab isBottom />
44+
<Box
45+
style={{
46+
gap: config.space.S300,
47+
}}
48+
>
49+
{!underOutstep && (
50+
<>
51+
<UnverifiedTab isBottom />
52+
<InboxTab isBottom />
53+
<SearchTab isBottom />
54+
</>
55+
)}
56+
<SettingsTab isBottom />
57+
</Box>
5658
</Box>
57-
</Box>
59+
</div>
5860
)}
5961
</>
6062
);

0 commit comments

Comments
 (0)