Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UI tweaks for session details panel #330

Merged
merged 2 commits into from
Mar 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions packages/app/src/SessionSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ export default function SessionSidePanel({
<Drawer
customIdSuffix={`session-side-panel-${sessionId}`}
duration={0}
overlayOpacity={0.2}
overlayOpacity={0.5}
open={sessionId != null}
onClose={() => {
if (!subDrawerOpen) {
onClose();
}
}}
direction="right"
size={'85vw'}
size={'82vw'}
style={{ background: '#0F1216' }}
className="border-start border-dark"
zIndex={zIndex}
Expand All @@ -99,7 +99,7 @@ export default function SessionSidePanel({
<span>{session?.sessionCount} Events</span>
</div>
</div>
<div>
<div className="d-flex">
<CopyToClipboard
text={window.location.href}
onCopy={() => {
Expand All @@ -115,6 +115,14 @@ export default function SessionSidePanel({
Share Session
</Button>
</CopyToClipboard>
<Button
variant="dark"
className="text-muted-hover d-flex align-items-center"
size="sm"
onClick={onClose}
>
<i className="bi bi-x-lg" />
</Button>
</div>
</div>
</div>
Expand Down
Loading