Styles don't play nice with disabled application-template-wrapper
See original GitHub issueWhen using addon-docs on an app with application-template-wrapper
set to false
(which is default in octane), the app styles don’t work well. See below:
This is simple to fix, but it would be better to not break for these cases.
The fix is just wrapping the content of application.hbs with a div
with classes ember-view
:
<div class="ember-view">
<DocsHeader />
{{outlet}}
</div>
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Optional Features - Configuration - Ember Guides
To disable a feature, run ember feature:disable some-feature. Available features: application-template-wrapper (Default: true) Wrap the top-level ...
Read more >How to remove space bottom mat-form-field - Stack Overflow
Wrap the component you want to style in a custom class. So it wont affect any other mat-form-field components. Let's wrap this with...
Read more >heartcombo/simple_form: Forms made easy for Rails ... - GitHub
This will add an initializer that configures Simple Form wrappers for ... so you can style labels, hints and other components inside the...
Read more >Advanced form styling - Learn web development | MDN
In this article, we will see what can be done with CSS to style the types of form control that are more difficult...
Read more >How To Build Forms in React | DigitalOcean
Next, inside the <form> tag, add a <fieldset> element with an <input> element surrounded by a <label> tag. By wrapping the <input> element...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
omg yes. Yesterday me was an idiot. thanks!
@NullVoxPopuli any interest in taking a look at a fix? Can you not manually wrap in
<div class="ember-view">
?