Skip to content

Batch of JSV UI/UX Fixes #119

@marcelltoth

Description

@marcelltoth

Describe the bug

1. Border for parameters runs too far to the left

Right now if I embed JSV in Elements, I get an ugly left padding, see Screenshot. In stoplightio/elements#979 I am forced to use some negative margin to work around.

The component should be exactly as large as the space it actually uses, just like any well-behaving element.

Currently looks like this:

image

Should look like this:

image

2. There should not be more space between title and description than there is padding at top and bottom of a row

Currently:

image

Spacing could be closer to the Figma:

image

3. Background color for examples / allowed values should be #EDF2F7

Currently

image

Should be

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions