Disabling debug and restoring media attribute for style