Made room for the file tree in the editor sidebar
I'm not gonna add the file tree rn but that is probably the next thing I will do.
This commit is contained in:
1 parent
530c290202
commit
a230150537
2 files changed
+16
-4
No files matched your search
@@ -2,13 +2,21 @@
|
|||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
@apply bg-[rgb(24,24,36)] ml-[10px] mt-3 p-0 border border-[rgb(48,48,72)] rounded-lg;
|
@apply bg-[rgb(24,24,36)] ml-[10px] mt-3 p-0 border border-[rgb(48,48,72)] rounded-lg;
|
||||||
@apply w-20 h-[calc(100vh_-_23px)];
|
@apply w-100 h-[calc(100vh_-_23px)] flex flex-row;
|
||||||
@apply relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar button {
|
.sidebar-tabs {
|
||||||
|
@apply ml-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-tabs button {
|
||||||
@apply w-15 h-15 bg-[rgb(54,54,72)] hover:bg-[rgb(72,72,96)];
|
@apply w-15 h-15 bg-[rgb(54,54,72)] hover:bg-[rgb(72,72,96)];
|
||||||
@apply border border-[rgb(72,72,96)] hover:border-[rgb(96,96,128)] p-0 mt-2 rounded-lg;
|
@apply border border-[rgb(72,72,96)] hover:border-[rgb(96,96,128)] p-0 mt-2 rounded-lg;
|
||||||
@apply transition-colors cursor-pointer;
|
@apply transition-colors cursor-pointer;
|
||||||
@apply absolute left-1/2 -translate-x-1/2;
|
}
|
||||||
|
|
||||||
|
.separator {
|
||||||
|
/* @apply w-[1.5px] h-full bg-[rgb(48,48,72)]; */
|
||||||
|
@apply ml-2;
|
||||||
|
@apply h-full border-l border-[rgb(48,48,72)];
|
||||||
}
|
}
|
||||||
@@ -18,11 +18,15 @@ export default function Editor_Layout ({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className='sidebar'>
|
<div className='sidebar'>
|
||||||
|
<div className='sidebar-tabs'>
|
||||||
<button>
|
<button>
|
||||||
<Image src={file_list_icon} alt="File list icon" width={60} height={60} />
|
<Image src={file_list_icon} alt="File list icon" width={60} height={60} />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="separator"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<main>{children}</main>
|
<main>{children}</main>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user