Skip to content

Commit

Permalink
Merge pull request #615 from avinash201199/revert-572-main
Browse files Browse the repository at this point in the history
Revert "Added Back to top button"
  • Loading branch information
avinash201199 authored Oct 17, 2023
2 parents 01b80f9 + 15708d2 commit 33367f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
6 changes: 1 addition & 5 deletions src/components/allcourse.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Data = courses.map((data,key) => {
key={key}
trigger={data.title}
className="collapse-main"
transitionTime="100"
transitionTime="100"
>
{data.cards.map((card,key) => {
return (
Expand Down Expand Up @@ -43,10 +43,6 @@ export default function allcourse() {
{Data}
<br />
</div>
<button onClick={goToTop} className="back-to-top"><span class="material-symbols-outlined">
arrow_circle_up
</span><br />Back To Top
</button>
</div>
);
}
8 changes: 0 additions & 8 deletions src/styles/allcourse.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,3 @@
.Collapsible__contentInner {
padding: 20px 40px;
}

.back-to-top{
margin-left: 50%;
width: 100px;
color: #0075d4;
height: 100px;
font-size: small;
}

0 comments on commit 33367f4

Please sign in to comment.