Improve rendering of field widget
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3155517. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) >>> <p>First, I wanted to suggest changing the settings for the detail container from open to closed. Especially when using the forthcoming new admin theme <a href="https://www.drupal.org/project/gin">Gin</a> this would be great to get better access to all those other components in the right vertical area.</p> <p>When I tried that hard coded setting, it resulted in this:</p> <p><img src="https://www.drupal.org/files/issues/2020-06-29/Screenshot%20from%202020-06-29%2010-08-01.png" alt=""></p> <p>So, in addition it turns out that the div wrapper around the detail container is causing some extra spacing issue. All other components in the sidebar just come as detail containers and no div wrapper is used for any of those. I've tried to remove the prefix and suffix which create that div wrapper and it seems to work. But I wanted to make sure that the wrapper is not required elsewhere?</p> <p>Altogether I want to request this feature: remove the div wrapper and either keep the detail container closed initially or make this configurable.</p> <p>I'm happy to provide a patch for this but want to run this by the module maintainers first. What do you think?</p>
issue