Skip to content

Commit

Permalink
Minor fixes to sticky and max-width of string
Browse files Browse the repository at this point in the history
  • Loading branch information
xypnox committed Feb 13, 2024
1 parent e9e0d6b commit c55ef43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/jsee/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ const ValueEl = styled("div")`
padding: 0.05rem 0.25rem;
background-color: ${theme.surface};
color: ${theme.fadeText};
max-width: 80ch;
word-break: break-all;
`

const JSeeValue = (props: { keys: string[], value: JSONValue }) => {
Expand Down Expand Up @@ -266,7 +268,6 @@ const JSeeRender = styled("div")`
flex-direction: column;
gap: 1rem;
width: 100%;
overflow-x: auto;
padding-bottom: 1rem;
`

Expand Down

0 comments on commit c55ef43

Please sign in to comment.