Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bekzodjonganiyev committed Jan 30, 2023
1 parent d450790 commit 4e8a9d4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 28 deletions.
4 changes: 3 additions & 1 deletion src/components/admin/sidebar/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
height: 4px; /* height of horizontal scrollbar ← You're missing this */
width: 0px; /* width of vertical scrollbar */
border: 1px solid #d5d5d5;
overflow-y: scroll;
}

aside {
background: #222;
background-image: linear-gradient(to right, #434343 0%, black 100%);
flex-grow: 0;
padding: 0px 20px 20px 20px;
box-sizing: border-box;
scrollbar-width: 0px;
}

/* LOGO */
Expand Down
16 changes: 10 additions & 6 deletions src/pages/admin/elon/Elon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,16 @@ const Elon = () => {

if (type === "table") {
content = (
<Table
headData={analyseNameTableHead}
renderHead={renderHead}
bodyData={bodyData}
renderBody={renderBody}
/>
<>
{data && (
<Table
headData={analyseNameTableHead}
renderHead={renderHead}
bodyData={bodyData}
renderBody={renderBody}
/>
)}
</>
);
} else {
content = (
Expand Down
40 changes: 19 additions & 21 deletions src/pages/admin/index.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
main{
display: flex;
position: sticky;
main {
display: flex;
position: sticky;
}

aside{
width: 20%;
aside {
width: 20%;
}

section{
width: 80%;
flex-grow: 1;
padding-bottom: 100px;
background: #098;
position: -ms-page;
top: 200px;
left: 20%;
section {
width: 80%;
flex-grow: 1;
padding-bottom: 100px;
background: #4776e6; /* fallback for old browsers */
background: rgb(168, 180, 217);
min-height: 800px;
}

nav{
position: sticky;
top: 0;
z-index: 999;
height: 70px;
padding: 10px;
background: rgb(65, 60, 60);
nav {
position: sticky;
top: 0;
z-index: 999;
height: 70px;
padding: 10px;
background: rgb(65, 60, 60);
}

0 comments on commit 4e8a9d4

Please sign in to comment.