Add sidebar for displaying selected cell

This commit is contained in:
2022-01-16 02:26:17 -05:00
parent 9a07f552b5
commit 79015201b0
6 changed files with 87 additions and 29 deletions

View File

@@ -3,4 +3,14 @@
top: 0;
bottom: 0;
width: 100%;
z-index: 2;
}
.map-wrapper {
position: relative;
height: 100%;
}
.map-wrapper-sidebar-open {
margin-left: 300px;
}

27
styles/Sidebar.module.css Normal file
View File

@@ -0,0 +1,27 @@
.sidebar {
position: fixed;
top: 0;
left: 0;
z-index: 1;
height: 100%;
background-color: #f5f5f5;
overflow-x: hidden;
width: 300px;
padding: 12px;
border-right: 1px solid #222222;
}
.close {
position: absolute;
top: 4px;
right: 8px;
font-size: 24px;
margin-left: 12px;
border: none;
background: none;
cursor: pointer;
}
.close:hover {
color: #888888;
}

View File

@@ -1,9 +1,12 @@
html,
body {
body,
div#__next {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
width: 100%;
height: 100%;
}
a {