:host { display: flex; flex-direction: column; flex: auto; -webkit-app-region: drag; } :host > div { flex: none; margin: auto; width: 300px; max-width: 100vw; display: flex; flex-direction: column; } .terminus-title { margin: 0 0 60px; } footer { flex: none; padding: 20px 30px; background: rgba(0,0,0,.5); } button { -webkit-app-region: no-drag; }