BraydenMoore commited on
Commit
e29e007
·
1 Parent(s): 11158d5

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -6
templates/index.html CHANGED
@@ -54,8 +54,9 @@
54
  #feed-div {
55
  display: flex;
56
  justify-content: center;
57
- align-items: center;
58
- width: 60%;
 
59
  position: relative;
60
  margin-right: 3%;
61
  margin-bottom: 3%;
@@ -186,8 +187,6 @@
186
  document.addEventListener("DOMContentLoaded", function() {
187
  const feed = document.getElementById("feed");
188
  feed.src = loadingGif;
189
- feed.height = "225px";
190
- feed.width = "225px";
191
  feed.style.opacity = "0.5";
192
 
193
  const country = document.getElementById("country");
@@ -214,8 +213,6 @@
214
  img.onload = function() {
215
  old = newUrl;
216
  feed.src = this.src;
217
- feed.width = "100%";
218
- feed.height = "100%";
219
  feed.style.opacity = "1";
220
  setTimeout(refreshImage, 1000);
221
  country.textContent = "{{ country }}"
 
54
  #feed-div {
55
  display: flex;
56
  justify-content: center;
57
+ align-items: center;
58
+ height: 1000px;
59
+ width: 500px;
60
  position: relative;
61
  margin-right: 3%;
62
  margin-bottom: 3%;
 
187
  document.addEventListener("DOMContentLoaded", function() {
188
  const feed = document.getElementById("feed");
189
  feed.src = loadingGif;
 
 
190
  feed.style.opacity = "0.5";
191
 
192
  const country = document.getElementById("country");
 
213
  img.onload = function() {
214
  old = newUrl;
215
  feed.src = this.src;
 
 
216
  feed.style.opacity = "1";
217
  setTimeout(refreshImage, 1000);
218
  country.textContent = "{{ country }}"