explorer/src/lib/components/transaction-details/TransactionDetails.css
.transaction-details__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  font-size: 0.875rem;
  column-gap: 1.875rem;
  padding: 0 1.125rem;
}

.transaction-details__status,
.transaction-details__type {
  width: 100%;
}

.transaction-details__gas-used {
  width: 12.5rem;
}

.transaction-details__payload {
  padding: 0.625rem 0.875rem;
  line-height: 1.3125rem;
  width: 100%;
  overflow-x: auto;
}

.transaction-details__payload-switch {
  position: absolute;
  right: -3.8125rem;
}

.transaction-details__list .details-list__term:nth-last-child(-n + 4) {
  align-items: start;
  margin-bottom: 0.625rem;
  /*
    3.8125rem is the sum of the switch width plus the gap
    between the switch and the dt element
  */
  width: calc(100% - 3.8125rem);
}

.transaction-details__memo {
  padding: 0.625rem 0.875rem;
  line-height: 1.3125rem;
  width: 100%;
  overflow-x: auto;
}

.transaction-details__switch-wrapper {
  display: flex;
  align-items: center;
  flex: 1 100%;
  justify-content: space-between;
}

.transaction-details__list-anchor {
  font-family: var(--mono-font-family);
}

.transaction-details__blob-hashes {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: var(--default-gap);
}

/**
 * We need to add a margin conditionally as these components are a bit
 * odd as the list term has a padding, while the definition doesn't.
 * If we have more than one li element we need a margin equal to that
 * padding to have the term and the definition aligned on top.
 */
.transaction-details__blob-hashes:has(> li:nth-child(2)) {
  margin-top: 0.9375rem;
}

.transaction-details__blob-hash {
  display: inline-flex;
  align-items: center;
  gap: var(--small-gap);
}

.transaction-details__blob-hash pre {
  white-space: pre-line;
}

@media (min-width: 640px) {
  .transaction-details__header-heading {
    text-transform: none;
  }

  .transaction-details__list {
    display: inline-grid;
    grid-template-columns: minmax(0, auto) minmax(0, 3fr);
  }

  .transaction-details__payload {
    margin-top: 1rem;
  }

  .transaction-details__memo {
    margin-top: 0rem;
  }

  .transaction-details__payload-switch {
    position: relative;
    right: 0rem;
  }

  .transaction-details__status,
  .transaction-details__type {
    width: auto;
  }

  .transaction-details__list .details-list__term:nth-last-child(-n + 4) {
    align-items: start;
    margin-bottom: 0rem;
    width: auto;
  }
}
