Skip to content

Commit

Permalink
update mobile mode
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbert committed Oct 22, 2024
1 parent 7e4c615 commit 27ddb0d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions css_files/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,9 @@ body.dark-mode .bg-light {
/* Position fixe en haut de la page sur mobile */
@media (max-width: 1280px) {
.dark-mode-toggle {
background-color: rgb(21, 0, 255);
position: relative !important; /* Ensure it's set as fixed */
top: -800px !important; /* Adjust as needed */
right: -800px !important; /* Adjust as needed */
top: -60px !important; /* Adjust as needed */
right: -660px !important; /* Adjust as needed */
z-index: 2000 !important;
margin: 0 !important;
}
Expand All @@ -339,8 +338,8 @@ body.dark-mode .bg-light {
@media (min-width: 1281px) {
.dark-mode-toggle {
position: fixed !important; /* Ensure it's set as fixed */
top: 12px !important; /* Adjust as needed */
right: 12px !important; /* Adjust as needed */
top: 65px !important; /* Adjust as needed */
right: 30px !important; /* Adjust as needed */
z-index: 2000 !important;
margin: 0 !important;
}
Expand Down

0 comments on commit 27ddb0d

Please sign in to comment.