/* ==========================================================================
   Styles for the Mention Notification page. One file per page, mirroring the
   page's path, so this table can be adjusted without touching any other
   page's styles.
   ========================================================================== */

/* At-a-glance table - the property column holds to one line, the value
   absorbs the rest. */
.at-a-glance-table table {
  table-layout: fixed;
  width: 100%;
}

/* The theme puts min-width: 5rem on every th, which fights the narrow column. */
.at-a-glance-table table th {
  min-width: 0;
}

.at-a-glance-table table th:nth-child(1),
.at-a-glance-table table td:nth-child(1) {
  width: 10rem;
  white-space: nowrap;
}

.at-a-glance-table table td {
  vertical-align: middle;
}

/* Destination table - the icon stacked above the asset name, narrow first
   column, description absorbs the rest. */
.destination-table table {
  table-layout: fixed;
  width: 100%;
}

.destination-table table th {
  min-width: 0;
}

.destination-table table th:nth-child(1),
.destination-table table td:nth-child(1) {
  width: 7rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  text-align: center;
}

/* Stack the icon on its own line, centred above the label. */
.destination-table table td:nth-child(1) .twemoji {
  display: block;
  margin: 0 auto 0.15rem;
}

.destination-table table td {
  vertical-align: middle;
}

/* Actions table - same stacked icon-over-label treatment as the destination
   table above. */
.actions-table table {
  table-layout: fixed;
  width: 100%;
}

.actions-table table th {
  min-width: 0;
}

.actions-table table th:nth-child(1),
.actions-table table td:nth-child(1) {
  width: 8rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  text-align: center;
}

.actions-table table td:nth-child(1) .twemoji {
  display: block;
  margin: 0 auto 0.15rem;
}

.actions-table table td {
  vertical-align: middle;
}
