Closed Nishitbaria closed 1 year ago
Hey @Vaishnavi-Patil2211 Please assign me this issue.
👋 @Nishitbaria
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
To reduce notifications, issues are locked. Your issue will be unlocked when we add the label gssoc23
. If you're participating in GSSoC'23, please add the gssoc23
label to your issue.
Issue Description: Currently, our website is using the following CSS code for the preloader and back-to-top button. While it works perfectly fine, it can benefit from some refactoring to improve code readability and maintainability. This issue aims to refactor the existing CSS code for better organization and to remove unnecessary duplication.
CSS Code to Refactor:
Refactoring Goals:
.back-to-top i
element inside the.back-to-top
class since a separate selector fori
element is unnecessary..back-to-top i
selector from the CSS..back-to-top
class by incorporating font-size, color, and line-height properties, reducing code duplication and improving maintainability.Proposed Changes:
.back-to-top i
inside the.back-to-top
class and remove the separate selector fori
element..back-to-top i
selector from the CSS..back-to-top
class to minimize redundant code.Expected Outcome: The refactored CSS code should functionally and visually behave the same as the existing code. However, it will be more organized, less redundant, and easier to modify or extend in the future.