Skip to content

Commit

Permalink
💄 Update position of favorite button
Browse files Browse the repository at this point in the history
  • Loading branch information
rrjoson committed Oct 8, 2018
1 parent f3a9e94 commit 9f9a760
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ const createRestaurantHTML = restaurant => {
li.append(image);

const favorite = document.createElement("button");
favorite.style.float = "right";

if (restaurant.is_favorite) {
favorite.innerHTML = "★";
Expand Down

0 comments on commit 9f9a760

Please sign in to comment.