Skip to content

Commit

Permalink
Adding a few more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Oct 27, 2024
1 parent de3f8ed commit 0d46106
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
position: absolute;
width: 100%;
height: 100%;
transform: translate3d(0, -100%, 0);
z-index: 9999;

&::before {
Expand Down
2 changes: 1 addition & 1 deletion includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h4 class="mb-3 text-xs font-semibold leading-6 text-gray-400">Menu</h4>
</div>
<nav class="relative w-full space-y-2">
<a href="{ url('/') }"
:class="{ 'text-white bg-neutral-800 dark:bg-neutral-100 dark:text-neutral-900' : route == removeQueryParams($el.getAttribute('href')), 'text-neutral-700 dark:text-neutral-400 dark:hover:text-white hover:text-black border border-neutral-200 dark:border-neutral-700 dark:hover:bg-neutral-900 hover:bg-neutral-200' : route != removeQueryParams($el.getAttribute('href')) }"
:class="{ 'text-white bg-neutral-800 dark:bg-neutral-100 dark:text-neutral-900' : route == removeQueryParams($el.getAttribute('href').replace(/\/$/, '')), 'text-neutral-700 dark:text-neutral-400 dark:hover:text-white hover:text-black border border-neutral-200 dark:border-neutral-700 dark:hover:bg-neutral-900 hover:bg-neutral-200' : route != removeQueryParams($el.getAttribute('href').replace(/\/$/, '')) }"
class="relative flex items-center w-full gap-2 px-3 py-2 text-xs font-medium rounded-md group focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-400">
<svg class="z-20 flex-shrink-0 w-4 h-4 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="none" d="M0 0h256v256H0z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16" d="M16 216h224M152 216v-64h-48v64M40 116.69V216M216 216v-99.31M24 132.69l98.34-98.35a8 8 0 0 1 11.32 0L232 132.69"/></svg>
<span class="relative truncate">Home</span>
Expand Down

0 comments on commit 0d46106

Please sign in to comment.