#dialog-area { /* min-width: 50vw; max-width: 60vw; min-height: fit-content; max-height: 60vh; */ /* height: 300px; */ width: 300px; height: 300px; position: fixed; top: 50%; left: 50%; /* padding-bottom: 24px; */ padding-right: 12px; padding-left: 12px; /* border-width: 2px; border: 2px solid black; */ transform: translate(-50%, -50%); display: flex; flex-direction: column; background-color: #f2f2f2; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); z-index: 999; } .close { font-size: 45px; font-weight: 600; } #canvas-send { margin: 0 auto; flex: 1; } #clear-btn { height: 30px; width: 30px; margin-right: 5px; cursor: pointer; } .drawing-board { margin-top: 20px; /* padding: 12px; padding-left: 30px; */ margin-bottom: 8px; } #drawing-board { margin: 20px; width: 100%; /* height: 100%; */ flex: 1; margin: 0 auto; background-color: #f2f2f2; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); } .action-section { margin-top: 10px; display: flex; /* height: 50px; */ flex-direction: row; /* justify-content: flex-end; */ height: 35px; } canvas { width: 100%; height: 100%; } #close-cntr { display: flex; justify-content: start; } #close-cntr span:hover { cursor: pointer; } #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 998; display: none; }