Skip to content

Commit

Permalink
center movie card
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzogo committed Apr 22, 2023
1 parent a432260 commit 5bfdbba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/sass/components/_cards.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/sass/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
@import './components/buttons';
@import './components/logo';
@import './components/form';
@import './components/cards';
@import './components/links';
@import './components/pagination';
@import './components/dark-mode';
Expand Down
4 changes: 4 additions & 0 deletions src/sass/layouts/_card-gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
grid-gap: 30px;
margin: 0 20px 40px;

.movie-card {
margin: 0 auto;
}

.movie-poster {
width: 280px;
height: 398px;
Expand Down

0 comments on commit 5bfdbba

Please sign in to comment.