mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-11 03:54:23 +01:00
style(Nav): improve Nav transition for open/close (#652)
* Revert "Animated sidebar (#649)"
This reverts commit dd19323280.
* in progress
* style(Nav): improve transition for Nav
This commit is contained in:
parent
dd19323280
commit
15987abe0a
5 changed files with 74 additions and 124 deletions
|
|
@ -12,7 +12,7 @@ export default function MobileNav({ setNavVisible }) {
|
|||
<div className="fixed left-0 right-0 top-0 z-10 flex items-center border-b border-white/20 bg-gray-800 pl-1 pt-1 text-gray-200 sm:pl-3 md:hidden">
|
||||
<button
|
||||
type="button"
|
||||
className="-ml-0.5 -mt-0.5 inline-flex h-10 w-10 items-center justify-center rounded-md hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white dark:hover:text-white"
|
||||
className="-ml-0.5 -mt-0.5 inline-flex h-10 w-10 items-center justify-center rounded-md hover:text-gray-900 focus:outline-none focus:ring-0 focus:ring-inset focus:ring-white dark:hover:text-white"
|
||||
onClick={() => setNavVisible((prev) => !prev)}
|
||||
>
|
||||
<span className="sr-only">Open sidebar</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue