This is a very simple short notes on how to remove the extra line from a copy and paste from vs code.

white-space: pre;

Replace all with  white-space: pre;

Example:

ion-menu ion-content {
  --padding-top20px;
  --padding-bottom20px;
  --backgroundvar(--ion-item-backgroundvar(--ion-background-color#fff));
}
/* Remove background transitions for switching themes */
ion-menu ion-item {
  --transitionnone;
}

 

Example Cleaned by removed all white-space: pre;

ion-menu ion-content {
  --padding-top20px;
  --padding-bottom20px;
  --backgroundvar(--ion-item-backgroundvar(--ion-background-color#fff));
}
/* Remove background transitions for switching themes */
ion-menu ion-item {
  --transitionnone;
}