Skip to content

Commit

Permalink
Merge pull request #63 from GSG-G10/58-todo
Browse files Browse the repository at this point in the history
Editing .env file and search bar
  • Loading branch information
umarsalah authored Aug 5, 2021
2 parents b753cf1 + d1a9045 commit 48a9554
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,9 @@ <h1 class="logo">Egy Film </h1>
<header class="landingPage">
<div class="mainContainer">
<div class="searchBox">

<input type="text" placeholder="looking for a movie ?" oninput="nameInput(this)" id="searchBar">
<i class="fas fa-search"></i>
<div id="suggestionsBar"></div>

<input type="text" placeholder="looking for a movie ?" oninput="nameInput(this)" class="search-bar" id="searchBar">
<div id="suggestionsBar"></div>

</div>
</div>
</header>
Expand Down
4 changes: 2 additions & 2 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
justify-content:center;
}
.searchBox {
width: 60%;
width: 85%;
position: relative;
}

Expand All @@ -103,7 +103,7 @@

.fa-search {
position:absolute;
top: 10%;
top: 7.5%;
transform: translateY(-50%);
right: 25px;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/search.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { XMLHttpRequest } = require('xmlhttprequest');
require('env2')('../.env');
require('env2')('.env');

const xhr = new XMLHttpRequest();

Expand Down
2 changes: 1 addition & 1 deletion src/handlers/trending.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { XMLHttpRequest } = require('xmlhttprequest');
require('env2')('../.env');
require('env2')('.env');

const xhr = new XMLHttpRequest();

Expand Down

0 comments on commit 48a9554

Please sign in to comment.