.resource-manager { position: relative; border-radius: 5px; } .resource-manager { user-select: none; } .resource-manager > .preview-pane { display: none; position: absolute; height: 200px; width: 200px; right: -200px; top: 0px; background-color: white; background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 2px; } .resource-manager > .resource-list { height: 200px; border-top-left-radius: 5px; border-top-right-radius: 5px; overflow-y: scroll; overflow-x: hidden; } .resource-manager > .upload-button { display: block; width: 100%; padding-left: 0; padding-right: 0; margin-top: 0; text-align: center; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border: 0px; }