-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Added to Roadmap
-
Affects Version/s: 3.6.0
-
Fix Version/s: None
-
Component/s: Studio Designer
-
Epic Link:
-
Backlog priority:1,000
-
Team:NOS
Metadata forms generated by view designer don't contain the correct styles.
Styles should be externalize so:
- there is no need to keep view designer and webui in sync
- if webui styles are updated, existing forms in designer don't need to be updated
Step to reproduce:
- Create a new document type
- Configure the missing layouts in designer
Webui default layout styles:
https://github.com/nuxeo/nuxeo-web-ui/blob/cdc1e17874787392d98dcaa02084a0e6208ca404/elements/document/file/nuxeo-file-metadata-layout.html#L26
Designer generated styles:
<style> *[role=widget] { padding: 5px; } </style>