Sheet { position: fixed; max-height: 80vh; max-width: 700px; margin: auto; top: 40px; left: 0; right: 0; width: 80vw; background: #f8f8f8; border: 1px solid #9c9a9a; box-shadow: 0 0 40px rgba(0,0,0,0.5); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; display: flex flex-direction: column z-index: 50 section { overflow-y: auto flex: 1 } footer { flex-shrink: 0; min-height: 20px; display: flex; justify-content: flex-end; padding: 10px; position: relative border-top: 1px solid #DDD div.info { flex: 1 padding: 8px font-size: 13px } button { margin-left: 10px } } }