.rst-content table:has(img) {
  width: 100% !important;
  table-layout: fixed !important;
}

.rst-content table:has(img) th,
.rst-content table:has(img) td {
  width: 50% !important;
  white-space: normal !important;
}

.rst-content table:has(img) img {
  width: 100% !important;
  height: auto !important;
}
