// 表格标签（#466）：{% table style:scroll|wrap|compact %}
.tag-plugin.table
  table
    display: table
    border-collapse: separate
    border-spacing: 0
    width: 100%
    border: 1px solid var(--block-border)
    border-radius: $border-card
    overflow: hidden
    th
      border-top: none
    th, td
      border-left: 1px solid var(--block-border)
      &:first-child
        border-left: none
  &.table-scroll
    overflow-x: auto
    -webkit-overflow-scrolling: touch
    scrollbar()
    table
      min-width: max-content
      th, td
        padding: 8px 1em
  &.table-wrap
    table
      table-layout: fixed
      tr
        white-space: normal
      th, td
        word-break: break-word
        overflow-wrap: anywhere
        padding: 8px 1em
  &.table-compact
    overflow-x: auto
    -webkit-overflow-scrolling: touch
    scrollbar()
    table
      min-width: max-content
      th, td
        padding: 4px 1em
        line-height: 1.4
