MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 49: Line 49:




/* 5/15/24: text in <pre> does not wrap on Reading mode in Edge browser, and assume in others and extends past right margin; but doesn't work; the only thing that works is max-width: 80% which is good to limit the whitespace block, but on read mode it just extends off the page... none of these worked:*/
/* 5/15/24: text in <pre> does not wrap on Reading mode in Edge browser, and assume in others and extends past right margin; but doesn't work; the only thing that works is max-width: 80% which is good to limit the whitespace block, but on read mode it just extends off the page... none of these worked:
 
     overflow: visible;
@supports (-ms-ime-align:auto) {
     nowrap: normal;
pre {
     max-width: 80%;
     overflow: auto;
     text-wrap: wrap; !important
     max-width: 80%; !important
     display: inline-block;
     display: inline-block;
     white-space: normal;
     white-space: normal;
}
*/


 
/* looks better w/ pre set to smaller width than page, but on read mode it still spills off right margin*/
/* looks better w/ pre set to smaller width than page, but on read mode it still spills off right margin
> to use only if the above doesn't work
pre {
pre {
     max-width: 80%;
     max-width: 80%;
}
}
*/