Skip to content

Commit

Permalink
Fixed user rating bugs on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Jan 5, 2024
1 parent 3c150f0 commit c58462f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ textarea {
}

.movie-right {
margin-top: -100px;
margin-top: 0;
height: 100% !important;
overflow: visible;
margin-bottom: 250px;
Expand Down
2 changes: 1 addition & 1 deletion src/js/movie-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ function populateMovieDetails(movie, imdbRating, rtRating) {
}

document.getElementById('movie-description').innerHTML += `
<p><strong>Description: </strong>${overview}</p>
<p style="margin-top: -100px"><strong>Description: </strong>${overview}</p>
<p><strong>Genres:</strong> ${genres}</p>
<p><strong>Release Date:</strong> ${releaseDate}</p>
<p><strong>Runtime:</strong> ${runtime}</p>
Expand Down

0 comments on commit c58462f

Please sign in to comment.