Skip to content

Commit d742a09

Browse files
committed
Fix Acceptance Tests
- Don't use .ember-application which is added after FastBoot This class is added dynamically, after FastBoot rendering. - On Acceptance Tests, the application is rendered under #ember-testing, not the root <body> element.
1 parent 150ba49 commit d742a09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/styles/app.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ body {
3333
@include align-items(center);
3434
}
3535

36-
.ember-application > div {
36+
/* .ember-application is added by Ember after initial rendering */
37+
.ember-application > div,
38+
body > div {
3739
width: 960px;
3840
@media only screen and (max-width: 960px) {
3941
width: 100%;

0 commit comments

Comments
 (0)