adaptive screen size + overflow
This commit is contained in:
@ -32,7 +32,7 @@ export default {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
margin-top: 60px;
|
||||
|
||||
}
|
||||
|
||||
* {
|
||||
@ -40,6 +40,7 @@ export default {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
background: black;
|
||||
color: white;
|
||||
@ -63,10 +64,12 @@ h1 {
|
||||
}
|
||||
|
||||
#main {
|
||||
flex: 4;
|
||||
|
||||
}
|
||||
|
||||
#container {
|
||||
display: flex;
|
||||
height: calc(100vh - 100px);
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user