Authress-Engineering / openapi-explorer

OpenAPI Web component to generate a UI from the spec.
Apache License 2.0
306 stars 42 forks source link

Field column width is too small, needs to be adjustable #228

Closed neongrau closed 7 months ago

neongrau commented 7 months ago

In the Model Schema (table view), when you have nested attributes (e.g. JSONAPI standard data/attributes/field_name) the field names can become too long to be displayed properly.

Would be better if the field width were adjustable (CSS).

See the last field here: Bildschirmfoto 2024-02-07 um 10 33 47

wparad commented 7 months ago

Schema columns will now automatically resize, but if there is something about that you would still like to override, you can also use the new css parts - schema-key (or schema-table-header, schema-type, schema-description) to override. This can be found in latest available version.

neongrau commented 7 months ago

Again, thank you very much. I set a larger width on part(schema-key) that fixed it. I didn't see any auto resizing though.