Merge branch 'logo-sizing-and-alignment' of WrenchBoard/Users-Wrench into master

This commit is contained in:
2023-08-04 14:26:23 +00:00
committed by Gogs
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ export default function Layout({ children }) {
drawer drawer
? "2xl:w-[335px] w-[280px] 2xl:pl-20 pl-10 pr-6 " ? "2xl:w-[335px] w-[280px] 2xl:pl-20 pl-10 pr-6 "
: "w-[70px]" : "w-[70px]"
} bg-white dark:bg-dark-white h-full overflow-y-scroll overflow-style-none fixed left-0 top-0 pt-8`} } bg-white dark:bg-dark-white h-full overflow-y-scroll overflow-style-none fixed left-0 top-0 pt-[30px]`}
> >
<Sidebar <Sidebar
logoutModalHandler={logoutModalHandler} logoutModalHandler={logoutModalHandler}
+1 -1
View File
@@ -39,7 +39,7 @@ export default function Sidebar({
{/* logo-area */} {/* logo-area */}
<div <div
className={`w-full flex items-center transition-all duration-300 ease-in-out ${ className={`w-full flex items-center transition-all duration-300 ease-in-out ${
sidebar ? "justify-between mb-14" : "justify-center" sidebar ? "justify-start gap-3 mb-14" : "justify-center"
}`} }`}
> >
<div className={`sidebar-logo ${sidebar ? "enter" : ""}`}> <div className={`sidebar-logo ${sidebar ? "enter" : ""}`}>
+1 -1
View File
@@ -303,7 +303,7 @@ input[type="text"][dir="rtl"] {
.sidebar-logo.enter { .sidebar-logo.enter {
transform: scale(1); transform: scale(1);
width: 100%; width: 80%;
} }
.sidebar-logo { .sidebar-logo {
transform: scale(0); transform: scale(0);