@import '../../settings.less';

// ref: https://github.com/tencent/weui/blob/master/src/style/widget/weui-tips/weui-dialog.less#L19
.weui--dialog {
  background-color: @weuiDialogBackgroundColor;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 16px;
  max-height: 90%;
}

// ref: https://github.com/tencent/weui/blob/master/src/style/widget/weui-tips/weui-dialog.less#L152
@media screen and (min-width: 352px) {
  .weui--dialog {
    width: 320px;
    margin: 0;
  }
}
