.yee-typography-wrapper {
  display: flex;
  align-items: center;
  width: 100%;

  .yee-typography-content {
    white-space: pre-wrap;
  }

  .icon {
    color: @primary-color;
  }
  .icon-success {
    color: #52bf63;
  }
  .input-style {
    width: 100%;
  }
  .content {
    word-break: break-all;
  }
  .ellipsis {
    position: relative;
    padding-right: 1em;
    /*max-height是line-height的几倍，想最多显示多少行就几倍*/
    line-height: 20px;
    text-align: justify;
    overflow: hidden;
    word-break: break-all;
    margin-right: 8px;
  }
  .ellipsis:before {
    position: absolute;
    right: 0;
    bottom: 0;
    content: '...';
  }
  .ellipsis:after {
    position: absolute;
    right: 0;
    /*宽高写死1em就好，因为省略号大概就是占用1em的空间，用来遮挡住省略号，也基本上跟wrap的padding-right一致*/
    width: 1em;
    /*与wrap的行高实际值保持一致*/
    height: 20px;
    content: '';
    /*请主动设置排版组件的背景色*/
    background-color: inherit;
  }
  .default {
    color: #000000d9;
  }
  .secondary {
    color: #00000073;
  }
  .success {
    color: #52c41a;
  }
  .warning {
    color: #faad14;
  }
  .danger {
    color: #ff4d4f;
  }
  .disabled {
    color: #00000040;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }
  .mark {
    background: #ffe58f;
  }
  .code {
    margin: 0 0.2em;
    padding: 0.2em 0.4em 0.1em;
    font-size: 90%;
    background: rgba(150, 150, 150, 0.1);
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 3px;
  }
  .keyboard {
    margin: 0 0.2em;
    padding: 0.15em 0.4em 0.1em;
    font-size: 90%;
    background: rgba(150, 150, 150, 0.06);
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-bottom-width: 2px;
    border-radius: 3px;
  }
  .underline {
    text-decoration: underline;
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
  }
  .delete {
    text-decoration: line-through;
  }
  .strong {
    font-weight: 600;
  }
  .link {
    color: @primary-color;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
  }
  .H1 {
    color: #000000d9;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.23;
  }
  .H2 {
    color: #000000d9;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.35;
  }
  .H3 {
    color: #000000d9;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.35;
  }
  .H4 {
    color: #000000d9;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
  }
  .H5 {
    color: #000000d9;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
  }
}
