| 1 |
/*! |
| 2 |
* VisualEditor MediaWiki UserInterface MWCategoryWidget styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
* @license The MIT License (MIT); see LICENSE.txt |
| 6 |
*/ |
| 7 |
|
| 8 |
.ve-ui-mwCategoryWidget { |
| 9 |
/* So we can measure relative offsets of the category items */ |
| 10 |
position: relative; |
| 11 |
|
| 12 |
&-items { |
| 13 |
/* MDN claims we need to use word-wrap: break-word; and that it's been renamed to |
| 14 |
* overflow-wrap: break-word; , but the only thing that actually works in practice is |
| 15 |
* word-break: break-word; (which is not documented in any standard at all). So we just use |
| 16 |
* all three. |
| 17 |
*/ |
| 18 |
word-break: break-word; |
| 19 |
word-wrap: break-word; |
| 20 |
overflow-wrap: break-word; |
| 21 |
} |
| 22 |
} |