event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.69k stars 143 forks source link

SchemaViewer CSS broken #583

Closed otbe closed 2 months ago

otbe commented 2 months ago

I was curious about the new (old) SchemaViewer and directly integrated into our catalog. Looks like the CSS is not properly imported (or broken somehow):

Screenshot 2024-07-11 at 19 53 19

This is what you get from this json schema:

{
  "additionalProperties" : true,
  "properties" : {
    "lastName" : {
      "example" : "bar",
      "description" : "last name",
      "type" : "string"
    },
    "firstName" : {
      "example" : "Foo",
      "description" : "first name",
      "type" : "string"
    }
  },
  "required" : [ ],
  "oneOf" : [ {
    "title" : "First name",
    "required" : [ "firstName" ]
  }, {
    "title" : "Last name",
    "required" : [ "lastName" ]
  }]
}

In the old version there was a proper overlay (white background). Also other CSS seems to be broken, at least teams listed in events/domans/services look different than before (almost styleless)

Screenshot 2024-07-11 at 19 55 01
otbe commented 2 months ago

@boyney123 dont want to comment on closed issues but I still see this bug :D (at least in dev mode; already cleaned node_modules, package-lock.json and .eventcatalog)