.root { height: 100%; } .title { margin-top: 10px; margin-bottom: 20px; } .columns { display: flex; flex-direction: row; } .statusBlock { margin-top: 10px; } @media only screen and (max-width: 768px) { .columns { flex-direction: column; } } .columns > * { flex-grow: 1; height: 100%; overflow: auto; } .separator { margin: 20px 0 10px 0; } .castField { width: 100%; display: flex; flex-direction: row; height: 40px; overflow: auto; } .castField > input { flex-grow: 1; height: 100%; border-right: 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-top-left-radius: 5px; border-bottom-left-radius: 5px; font-size: 100%; padding-left: 10px; } .castField > button { flex-shrink: 1; height: 100%; padding: 0 10px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 0; border-left: 1px solid #ccc; border-radius: 0; font-weight: bold; cursor: pointer; } .castField > button:hover { background-color: #96b4ff; } .castField > button:last-child { border-right: 1px solid #ccc; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }