Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
6da61c8a
Unverified
Commit
6da61c8a
authored
Sep 13, 2024
by
tom goriunov
Committed by
GitHub
Sep 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Long `Call` field value in `Decoded input data` breaks adaptive UI on mobile (#2239)
Fixes #2216
parent
d1632daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
LogDecodedInputDataHeader.tsx
ui/shared/logs/LogDecodedInputDataHeader.tsx
+3
-1
No files found.
ui/shared/logs/LogDecodedInputDataHeader.tsx
View file @
6da61c8a
...
@@ -13,6 +13,7 @@ interface Props {
...
@@ -13,6 +13,7 @@ interface Props {
const
Item
=
({
label
,
children
,
isLoading
}:
{
label
:
string
;
children
:
React
.
ReactNode
;
isLoading
?:
boolean
})
=>
{
const
Item
=
({
label
,
children
,
isLoading
}:
{
label
:
string
;
children
:
React
.
ReactNode
;
isLoading
?:
boolean
})
=>
{
return
(
return
(
<
Flex
<
Flex
w=
"100%"
columnGap=
{
5
}
columnGap=
{
5
}
rowGap=
{
2
}
rowGap=
{
2
}
px=
{
{
base
:
0
,
lg
:
4
}
}
px=
{
{
base
:
0
,
lg
:
4
}
}
...
@@ -35,6 +36,7 @@ const LogDecodedInputDataHeader = ({ methodId, methodCall, isLoading, rightSlot
...
@@ -35,6 +36,7 @@ const LogDecodedInputDataHeader = ({ methodId, methodCall, isLoading, rightSlot
fontSize=
"sm"
fontSize=
"sm"
lineHeight=
{
5
}
lineHeight=
{
5
}
flexGrow=
{
1
}
flexGrow=
{
1
}
w=
"100%"
>
>
<
Flex
columnGap=
{
2
}
w=
"100%"
>
<
Flex
columnGap=
{
2
}
w=
"100%"
>
<
Item
label=
"Method id"
isLoading=
{
isLoading
}
>
<
Item
label=
"Method id"
isLoading=
{
isLoading
}
>
...
@@ -43,7 +45,7 @@ const LogDecodedInputDataHeader = ({ methodId, methodCall, isLoading, rightSlot
...
@@ -43,7 +45,7 @@ const LogDecodedInputDataHeader = ({ methodId, methodCall, isLoading, rightSlot
{
rightSlot
}
{
rightSlot
}
</
Flex
>
</
Flex
>
<
Item
label=
"Call"
isLoading=
{
isLoading
}
>
<
Item
label=
"Call"
isLoading=
{
isLoading
}
>
<
Skeleton
isLoaded=
{
!
isLoading
}
whiteSpace=
"pre-wrap"
>
{
methodCall
}
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
whiteSpace=
"pre-wrap"
w=
"100%"
>
{
methodCall
}
</
Skeleton
>
</
Item
>
</
Item
>
</
VStack
>
</
VStack
>
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment