Skip to content

Consistent left alignment for non-object and object properties #89

@kaihenthorniwane

Description

@kaihenthorniwane

Should we nudge the CSS of the w-rjv-inner that are not w-json-view-container so that the text of the non-object properties and object properties lay on the same left hand axis?

Currently we are doing this hack, but it's not pretty 😅

  .w-rjv-wrap {
    padding-left: 1.875rem !important;
  }

  .w-rjv-inner:not(.w-json-view-container):has(.w-rjv-arrow) {
    margin-left: -0.875rem;
  }
Before After
Before After

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions