body {
    background-color: wheat;
}


#canvasContainer {
    background-color: white;
    position:relative;
    overflow:auto;
}

#bases {
    font-family: monospace;
	
    width: min-content;
    height: fit-content;
    white-space: normal;
    overflow:auto;
}

.textInput {
    width: 250px;
}
body {
    background-color: wheat;
}


#canvasContainer {
    background-color: white;
    position:relative;
    overflow:auto;
}

#bases {
    font-family: monospace;
	
    width: min-content;
    height: fit-content;
    white-space: normal;
    overflow:auto;
}

#baseContainer {
    overflow:auto;
}

.textInput {
    width: 250px;
}

Add base container selector, set overflow attribute
Add base container selector, set overflow attribute