35 lines
887 B
CSS
35 lines
887 B
CSS
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
height: 100dvh; /* 100dvh is 100% of the dynamic viewport height—excluding the address bar and other browser UI. */
|
|
overflow: hidden;
|
|
min-width: 300px;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
monospace;
|
|
}
|
|
|
|
#root {
|
|
overflow: hidden;
|
|
height: 100%;
|
|
min-height: 100%; /* Now everything is sized to 100% being the full 100dvh height of the body */
|
|
max-height: 100%;
|
|
display: flex;
|
|
position: relative;
|
|
flex-direction: column;
|
|
}
|
|
|
|
div {
|
|
box-sizing: border-box;
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
}
|