.box { width: 100%; height: 100%; background: #fff; font-size: 15px; color: black; box-sizing: border-box; display: flex; flex-direction: column; overflow-y: auto; } .content{ flex: 1; box-sizing: border-box; padding: 0 12px; nz-tabset{ height: 100%; } textarea{ width: 100%; height: 100%; } } .btnbox{ display: flex; justify-content: center; align-items: center; height: 52px; }