Add sidebar for displaying selected cell
This commit is contained in:
@@ -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
27
styles/Sidebar.module.css
Normal 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;
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user