BraydenMoore commited on
Commit
e33ce64
·
verified ·
1 Parent(s): a7ca6dd

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +7 -3
templates/index.html CHANGED
@@ -186,6 +186,10 @@
186
  color: black;
187
  }
188
 
 
 
 
 
189
  #share {
190
  cursor: pointer;
191
  margin: auto;
@@ -283,7 +287,7 @@
283
  owner: {{ owner }}<br>
284
  ip: {{ ip }}<br>
285
  lat, lon: {{ loc }}
286
- </span> <span id="show-more"><i style="margin-bottom:5px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i> (more)</span>
287
 
288
  </p>
289
 
@@ -500,10 +504,10 @@
500
  if (additionalInfo.style.height === '0px') {
501
  const scrollHeight = additionalInfo.scrollHeight;
502
  additionalInfo.style.height = `${scrollHeight}px`;
503
- showMore.innerHTML = ' <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i> (less)';
504
  } else {
505
  additionalInfo.style.height = '0';
506
- showMore.innerHTML = ' <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i> (more)';
507
  }
508
  });
509
  });
 
186
  color: black;
187
  }
188
 
189
+ #location-name {
190
+ margin-bottom: 10px;
191
+ }
192
+
193
  #share {
194
  cursor: pointer;
195
  margin: auto;
 
287
  owner: {{ owner }}<br>
288
  ip: {{ ip }}<br>
289
  lat, lon: {{ loc }}
290
+ </span><span id="show-more">(more) <i style="margin-bottom:5px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i></span>
291
 
292
  </p>
293
 
 
504
  if (additionalInfo.style.height === '0px') {
505
  const scrollHeight = additionalInfo.scrollHeight;
506
  additionalInfo.style.height = `${scrollHeight}px`;
507
+ showMore.innerHTML = '(less) <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>';
508
  } else {
509
  additionalInfo.style.height = '0';
510
+ showMore.innerHTML = '(more) <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>';
511
  }
512
  });
513
  });