Skip to content

Commit b5d059b

Browse files
committed
fix: architecture guide panel respects sidebar widths
1 parent 8507aae commit b5d059b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/desktop-full.png

166 KB
Loading

src/components/ui/LiveExampleBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,8 @@ export default function LiveExampleBar() {
607607
<AnimatePresence>
608608
{isExpanded && (
609609
<motion.div
610-
className="fixed inset-0 z-30 overflow-auto md:left-0 md:right-0"
611-
style={{ top: '56px' }}
610+
className="fixed inset-0 z-30 overflow-auto"
611+
style={{ top: '56px', left: leftMargin, right: rightMargin, transition: 'left 0.3s ease, right 0.3s ease' }}
612612
initial={{ opacity: 0, y: 50 }}
613613
animate={{ opacity: 1, y: 0 }}
614614
exit={{ opacity: 0, y: 50 }}

0 commit comments

Comments
 (0)