@import '~@alifd/next/variables.scss';

.drawer {
  & > div {
    display: flex;
    flex-direction: column;
  }

  :global {
    .#{$css-prefix}drawer-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 0;
      overflow: auto;
    }
  }
}

.content {
  flex: 1;
  padding: 16px 24px;
  overflow: auto;

}

.footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-radius: 0 0 4px 4px;
  padding: 10px 16px;
  text-align: right;

  & .button {
    &:not(:first-child) {
      margin-left: 8px;
    }
  }
}
