This is being set by the "entrance" transition (durandal/transitions/entrance.js). Looks like the final end point for the transition is those values, and they're not being removed when transition is complete.
You can avoid this entirely by not using the transition. This will take a couple of steps:
- In main.js, modify your app.setRoot() call to remove the 'entrance' parameter. This will prevent the styling settings from being added to the shell container
- In shell.html, remove the transition setting from the compose binding. This will prevent the styling settings from being added to the individual views.
The other possibility is to create your own transition that is more compatible with your CSS requirements.