diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 61412d0..525c7c7 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -2,6 +2,7 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { NotesListComponent } from './pages/notes-list/notes-list.component'; @@ -20,7 +21,8 @@ import { NoteDetailsComponent } from './pages/note-details/note-details.componen imports: [ BrowserModule, AppRoutingModule, - FormsModule + FormsModule, + BrowserAnimationsModule ], providers: [], bootstrap: [AppComponent] diff --git a/src/app/note-card/note-card.component.scss b/src/app/note-card/note-card.component.scss index 0a7c58b..791b574 100644 --- a/src/app/note-card/note-card.component.scss +++ b/src/app/note-card/note-card.component.scss @@ -34,7 +34,7 @@ position: relative; - max-height: 90px; + max-height: 10vh; // overflow: hidden; overflow: auto; diff --git a/src/app/pages/notes-list/notes-list.component.html b/src/app/pages/notes-list/notes-list.component.html index 2632b51..ddeb69a 100644 --- a/src/app/pages/notes-list/notes-list.component.html +++ b/src/app/pages/notes-list/notes-list.component.html @@ -10,10 +10,11 @@ -