Authress-Engineering / openapi-explorer

OpenAPI Web component to generate a UI from the spec.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Field column width is too small, needs to be adjustable

neongrau opened this issue · comments

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

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.

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.