Skip to content

Commit

Permalink
Merge pull request kunjgit#2223 from parasss19/Fixed-dark-button
Browse files Browse the repository at this point in the history
fFxed the position of Theme
  • Loading branch information
gurjeetsinghvirdee authored Jul 2, 2023
2 parents ec48cac + ce8c0b7 commit 8b9ce9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@

</head>
<!-- Light-Dark theme SWITCH -->
<p class="invert-color" style="margin-top: 30px; margin-left: 50px;">Light/Dark theme :</p>
<label class="theme-toggle" style="margin-top: 4px; margin-left: 50px">
<p class="invert-color" style="position: sticky; top: 30px; z-index:100; margin-left: 30px;">Theme :</p>
<label class="theme-toggle" style="position: sticky; top: 58px; z-index: 100; margin-left: 30px">
<input type="checkbox" id="themeToggle" onclick="toggleTheme()" checked>
<span class="slider"></span>
</label>
Expand Down

0 comments on commit 8b9ce9d

Please sign in to comment.