Skip to content

Commit

Permalink
fail
Browse files Browse the repository at this point in the history
  • Loading branch information
trongate committed Mar 19, 2021
1 parent 4e36deb commit 9d7ca81
Show file tree
Hide file tree
Showing 3 changed files with 775 additions and 49 deletions.
25 changes: 22 additions & 3 deletions public/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
--alt: #fff;
}

body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}

header {
background-color: #000;
display: flex;
Expand Down Expand Up @@ -41,6 +48,10 @@ header a:hover {
color: #fff;
}

header > div {
margin-right: 12px;
}

nav ul {
margin: 0;
}
Expand All @@ -52,15 +63,23 @@ nav ul {
cursor: pointer;
}

body > header > div {
margin-right: 12px;
.wrapper {
flex: 1;
display: flex;
flex-direction: row;
}

.wrapper > div:nth-child(1) {
display: block;
background-color: #eee;
min-width: 250px;
}

.wrapper > div:nth-child(2) {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 95vh;
}

#sidebar, main, footer > div {
Expand Down
Loading

0 comments on commit 9d7ca81

Please sign in to comment.