.dialog { top: 12px; z-index: 4; background-color: #fbefd5; box-shadow: 0 0 1em black; max-width: 400px; } .dialog h3 { margin-top: 0px; } .dialog textarea { width: 100%; min-height: 100px; resize: vertical; } .dialog menu { padding: 0; display: flex; justify-content: space-between; } .drop-area { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; }