BraydenMoore commited on
Commit
06d4cc3
1 Parent(s): 6c0c3d9

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -4
templates/index.html CHANGED
@@ -444,12 +444,10 @@
444
  if (additionalInfo.style.height === '0px') {
445
  const scrollHeight = additionalInfo.scrollHeight;
446
  additionalInfo.style.height = `${scrollHeight}px`;
447
- showMore.textContent = 'less';
448
- moreButton.className = "fa-solid fa-caret-up";
449
  } else {
450
  additionalInfo.style.height = '0';
451
- showMore.textContent = 'more';
452
- moreButton.className = "fa-solid fa-caret-down";
453
  }
454
  });
455
  });
 
444
  if (additionalInfo.style.height === '0px') {
445
  const scrollHeight = additionalInfo.scrollHeight;
446
  additionalInfo.style.height = `${scrollHeight}px`;
447
+ showMore.textContent = 'less <i style="margin-bottom:20px; color:rgb(53, 53, 53);" id="more-button" class="fa-solid fa-caret-up"></i>';
 
448
  } else {
449
  additionalInfo.style.height = '0';
450
+ showMore.textContent = 'more <i style="margin-bottom:20px; color:rgb(53, 53, 53);" id="more-button" class="fa-solid fa-caret-down"></i>';
 
451
  }
452
  });
453
  });