From 0af5aa68cb45bb1ededd975523f7d0276d1bbf00 Mon Sep 17 00:00:00 2001 From: theanishtar Date: Tue, 15 Oct 2024 15:44:03 +0700 Subject: [PATCH] fix: change z-index mode button high footer with PC Mode button high Footer, with mobile Mode button low Footer --- styles/footer.css | 10 +++++++++- styles/menu.css | 7 ------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/styles/footer.css b/styles/footer.css index 206310a..854d662 100644 --- a/styles/footer.css +++ b/styles/footer.css @@ -4,7 +4,6 @@ box-sizing: border-box; } */ footer { - z-index: 5; position: relative; border-top: solid 1px #59595936; justify-content: center; @@ -13,4 +12,13 @@ footer { footer p { text-align: center; +} + + + +/* PC */ +@media (min-width: 64em) { + footer { + z-index: 5; + } } \ No newline at end of file diff --git a/styles/menu.css b/styles/menu.css index 37676fb..337829d 100644 --- a/styles/menu.css +++ b/styles/menu.css @@ -5,23 +5,16 @@ z-index: 2; } - .mode-mobile button i { font-size: 20px; } - .menu .mode-mobile { position: fixed; left: 22px; bottom: 60px; } - - - - - .menu ul { list-style: none; padding: 0;