Jump to content

MediaWiki:Common.css: Difference between revisions

Line 236: Line 236:
   max-width: 100%; height: auto; object-fit: contain; display: block;
   max-width: 100%; height: auto; object-fit: contain; display: block;
}
}
/* Stop RecentChanges rows from hogging width */
body.page-Special_RecentChanges .mw-changeslist-line-inner {
body.page-Special_RecentChanges .mw-changeslist-line-inner {
  display: block;              /* break out of the table-cell style */
   min-width: 0;
   min-width: 0;               /* let it shrink */
   max-width: 100%;
   max-width: 100%;             /* never wider than the container */
   white-space: normal;
   white-space: normal;         /* undo nowrap */
   overflow-wrap: anywhere;
   overflow-wrap: anywhere;     /* modern wrapping */
  word-break: break-word;      /* fallback for old browsers */
  box-sizing: border-box;      /* widths behave predictably */
}
}