stoplightio / elements

Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.
https://stoplight.io/open-source/elements/
Apache License 2.0
1.79k stars 206 forks source link

[Bug] Styles broke when receiving a response #2655

Closed YanGusik closed 2 months ago

YanGusik commented 2 months ago

Context

If you click on the Send Api Request button, then when outputting, we get a response that is broken in style.

Current Behavior

visually looks bad for all users

Steps to Reproduce

  1. open url
  2. click send api request
  3. response изображение_2024-08-14_181317025 style is broken

Environment

wsngamerz commented 2 months ago

I’m also experiencing this issue. As a temporary solution, I pinned the version to the previous working version, which seems to have "resolved" this.

<script src="https://unpkg.com/@stoplight/elements@8.3.4/web-components.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements@8.3.4/styles.min.css">
github-actions[bot] commented 2 months ago

This ticket has been labeled jira. A tracking ticket in Stoplight's Jira (PROVCON-2766) has been created.

beshoo commented 2 months ago

Waiting Updates

mojtabaahn commented 2 months ago

+1

nikhilbhavsar121 commented 2 months ago

I’m also experiencing this issue. As a temporary solution, I pinned the version to the previous working version, which seems to have "resolved" this.

<script src="https://unpkg.com/@stoplight/elements@8.3.4/web-components.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements@8.3.4/styles.min.css">

this works for me thanks

arno-fukuda commented 2 months ago

Before

Screenshot 2024-08-22 at 21 16 08

After (omg, unbearable)

Screenshot 2024-08-22 at 21 16 51
Gystre commented 2 months ago

This is caused by a bump in version for @stoplight-mosaic from 1.53.1 -> 1.53.3

In this pr: https://github.com/stoplightio/elements/pull/2611

mnaumanali94 commented 2 months ago

Probably will close this too: https://smartbear.atlassian.net/jira/software/c/projects/STOP/issues/STOP-1043?filter=49162

ben-smartbear commented 2 months ago

resolved via https://github.com/stoplightio/elements/pull/2680 and released as 8.4.2