#share-dialog { width: 80%; } #share-dialog-layout { align-items: start; min-width: 50em; height: 100%; } .share-dialog-field { width: 100%; } #headingLayout { width: 100%; display: flex; position: relative; align-items: center; justify-content: center; } #closeIcon { right: 0; position: absolute; bottom: 2.1em; }