mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 03:42:27 +03:00
Fix ember browser tests to always use full height of preview container
no issue - adds style to client/tests/index.html to force preview container and inner element to always fill 100% - fixes issue with infinite-scroll test failing in browser but passing in phantomjs
This commit is contained in:
parent
eedcdf2f17
commit
e6cef8fcb9
@ -24,6 +24,16 @@
|
||||
|
||||
{{content-for 'head-footer'}}
|
||||
{{content-for 'test-head-footer'}}
|
||||
|
||||
<style>
|
||||
/* fix to ensure we use full viewport height when testing */
|
||||
#ember-testing {
|
||||
height: 100%;
|
||||
}
|
||||
#ember-testing > div {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user