diff --git a/src/assets/favicon.ico b/src/assets/favicon.ico new file mode 100644 index 0000000000..89d1ceee4a Binary files /dev/null and b/src/assets/favicon.ico differ diff --git a/src/course-home/outline-tab/LmsHtmlFragment.jsx b/src/course-home/outline-tab/LmsHtmlFragment.jsx index 49a85436be..195442483f 100644 --- a/src/course-home/outline-tab/LmsHtmlFragment.jsx +++ b/src/course-home/outline-tab/LmsHtmlFragment.jsx @@ -3,25 +3,6 @@ import PropTypes from 'prop-types'; import { getConfig } from '@edx/frontend-platform'; -window.onload = function() { - // Select the iframe - var iframe = document.querySelector('iframe'); - - // Access the content of the iframe - var iframeContent = iframe.contentDocument || iframe.contentWindow.document; - - // Select all the elements inside .small in the iframe's body - var links = iframeContent.querySelectorAll('body .small a'); - - // Check if the elements exist - if (links.length > 0) { - // Apply the desired styles - links.forEach(function(link) { - link.style.color = '#25a78e'; - }); - } -}; - const LmsHtmlFragment = ({ className, diff --git a/src/index.scss b/src/index.scss index 3b6c1b1d6c..68ffb45f48 100755 --- a/src/index.scss +++ b/src/index.scss @@ -395,9 +395,8 @@ a.btn-inverse-outline-primary:active { color: #454545 !important; } -a[href$="demoPDF.pdf"] { - color: #25a78e; /* Change 'red' to whatever style you want */ - /* Add more styles if needed */ +a { + color: #25a78e; } // Import component-specific sass files