Skip to content

Commit bcf6c34

Browse files
committed
fix: Fix color border covered by navbar caused by recent commit
1 parent b9da981 commit bcf6c34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Created Date: 2024-03-23 12:52:57
66
* Author: 3urobeat
77
*
8-
* Last Modified: 2024-04-29 23:03:05
8+
* Last Modified: 2024-04-30 17:29:44
99
* Modified By: 3urobeat
1010
*
1111
* Copyright (c) 2024 3urobeat <https://github.com/3urobeat>
@@ -104,18 +104,18 @@
104104
</footer>
105105
</nav>
106106

107-
<!-- The main content itself, pushed to the side by the navbar - The extra lg: tags in :class fix a bg color bug when the window is resized while the navbar was open - The lg:pr-48 param subtracts the navbar (a bit hacky) -->
107+
<!-- The main content itself, pushed to the side by the navbar - The extra lg: tags in :class fix a bg color bug when the window is resized while the navbar was open - The lg:pr-52 param subtracts the navbar (a bit hacky) -->
108108
<main
109109
:class="showNavbar ? 'opacity-30 dark:opacity-70 lg:bg-bg-light lg:dark:bg-bg-dark lg:opacity-100 lg:dark:opacity-100' : ''"
110-
class="fixed z-10 w-screen h-screen bg-bg-light dark:bg-bg-dark dark:text-text-dark transition-all duration-500 lg:pl-48 overflow-auto"
110+
class="fixed z-10 w-screen h-screen bg-bg-light dark:bg-bg-dark dark:text-text-dark transition-all duration-500 lg:pl-52 overflow-auto"
111111
@click="showNavbar = false"
112112
>
113113
<div :class="showNavbar ? 'fixed w-screen h-screen opacity-0 lg:w-0 lg:h-0' : ''" class="z-50"></div> <!-- Dummy to prevent NuxtPage button presses when the navbar is open -->
114114

115115
<!-- Page content wrapped into a border container, used to indicate success or failure for actions -->
116116
<div
117117
id="color-border"
118-
class="fixed bottom-0 top-10 right-0 lg:left-48 left-0 border-8 border-transparent rounded-2xl transition-colors duration-500 overflow-auto"
118+
class="fixed bottom-0 top-10 right-0 lg:left-52 left-0 border-8 border-transparent rounded-2xl transition-colors duration-500 overflow-auto"
119119
>
120120
<div class="absolute px-5 -mt-5 right-0 left-0">
121121
<NuxtPage></NuxtPage> <!-- Links to index.vue -->

0 commit comments

Comments
 (0)