37 lines
No EOL
594 B
CSS
37 lines
No EOL
594 B
CSS
html, body {
|
|
height: 100%;
|
|
}
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 60px;
|
|
left: 0;
|
|
width: 220px;
|
|
height: calc(100% - 60px);
|
|
padding: 1rem;
|
|
border-right: 1px solid #ddd;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.content {
|
|
margin-left: 220px;
|
|
padding: 2rem;
|
|
padding-top: 80px;
|
|
}
|
|
|
|
.navbar.is-fixed-top {
|
|
z-index: 1000;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
border-right: none;
|
|
padding-top: 0;
|
|
}
|
|
.content {
|
|
margin-left: 0;
|
|
padding-top: 2rem;
|
|
}
|
|
} |