My template changes whether or not I use ion-router

Hello everyone!
I don’t understand why the content of ion-content is shown differently depending on whether or not I use ion-routing-outlet.


  <ion-content class="ion-padding">


<ion-buttons slot="start">
<ion-title>Log In</ion-title>
  <ion-item lines="full">
    <ion-label position="floating">Email</ion-label>
    <ion-input type="text" required></ion-input>
  <ion-item lines="full">
    <ion-label position="floating">Password</ion-label>
    <ion-input type="password" required></ion-input>
      <ion-button type="submit" color="danger" expand="block">Sign In</ion-button>

thanks for your help!

i noticed that the problem is due to the “ion-page” class assigned by ion-router-outlet to app-login … any solution?

p.s app-login is the component selector assigned to the route