Skip to content

Json components height #1091

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Aug 8, 2024
Prev Previous commit
Next Next commit
min height
  • Loading branch information
MenamAfzal committed Aug 6, 2024
commit 042525a34df5f4304644b0b3fc9741a82f97852a
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const Wrapper = styled.div<{$height: boolean; $showVerticalScrollbar:boolean}>`
border: 1px solid #d7d9e0;
border-radius: 4px;
overflow-y: scroll;
height: ${(props) => (props.$height ? '100%' : '200px')};
min-height:200px;
height: 100%;
&::-webkit-scrollbar {
width: 16px;
display: ${props=>props.$showVerticalScrollbar&&'block !important'};
Expand Down
Loading