MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 146: Line 146:
   background: #fff;
   background: #fff;
}
}


table.l1-compare {
table.l1-compare {
   white-space: nowrap;
   white-space: nowrap;
   width: 100%;
   width: max-content;   /* critical */
   min-width: 1400px; /* ← forces horizontal overflow */
   min-width: 1400px;
   border-collapse: separate;
   border-collapse: separate;
   border-spacing: 0;
   border-spacing: 0;
}
}


table.l1-compare th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #f8f9fa;
  color: #202122;
  z-index: 10;
}


table.l1-compare th:first-child,
table.l1-compare th:first-child,