Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
fuko
/
trytanstackdb.com
Pull requests
fuko
trytanstackdb.com
Public
Synced with GitHub
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
Fix a horizontal overflow bug
#35
Send to my agent
Merged
fuko
merged 1 commit into
main
from
refs/pull/35/head
·
merged by
fuko
11 months ago
View on GitHub
Conversation
2
Commits
1
Files changed
1
Impact
Showing
1 changed file
with
69 additions
and
56 deletions
.
x
0 of 1 viewed, 1 left
Files
Hide whitespace
Unified
Split
69 additions and 56 deletions
+69
-56
src/components/ApiRequestsPanel.tsx
Modified
Diff
Before/After
Viewed
src/components/ApiRequestsPanel.tsx
View file
Show all 4 lines
@@ -5,7 +5,7 @@
5
5
LoaderIcon
,
6
6
Trash2Icon
,
7
7
}
from
"lucide-react"
;
8
-
import
{ motion }
from
"motion/react"
;
8
+
import
{
AnimatePresence
, motion }
from
"motion/react"
;
9
9
import
{ useState }
from
"react"
;
10
10
import
{
11
11
type
ApiRequest
,
Expand up
Expand down
Show all 157 lines
@@ -169,62 +169,75 @@
169
169
const
isApiPanelOpen = userPreferences?.
networkPanel
===
"open"
;
170
170
171
171
return
(
172
-
<
motion.div
173
-
initial
={
false
}
174
-
animate
={{
175
-
width: isApiPanelOpen ?
API_PANEL_WIDTH
:
0
,
176
-
}}
177
-
className
=
"shrink-0 h-full overflow-hidden border-l border-border"
178
-
transition
={{
179
-
duration:
PANEL_ANIMATION_DURATION
,
180
-
delay: isApiPanelOpen ?
0
:
PANEL_ANIMATION_DURATION
,
181
-
}}
182
-
>
183
-
<
motion.div
Home
Search
Explore
Menu