Khác biệt giữa bản sửa đổi của “MediaWiki:Common.js”
Không có tóm lược sửa đổi |
Không có tóm lược sửa đổi |
||
| Dòng 11: | Dòng 11: | ||
dd[j].style.setProperty('column-span', 'unset'); | dd[j].style.setProperty('column-span', 'unset'); | ||
if (dd[j].clientWidth + parseFloat(window.getComputedStyle(dd[j])['marginLeft']) > dl[i].clientWidth / 2) { | if (dd[j].clientWidth + parseFloat(window.getComputedStyle(dd[j])['marginLeft']) > dl[i].clientWidth / 2) { | ||
dd[j].style.setProperty('min-width', '100%'); | dd[j].style.setProperty('min-width', 'calc(100% - 1.6em)'); | ||
dd[j].style.setProperty('column-span', 'all'); | dd[j].style.setProperty('column-span', 'all'); | ||
} | } | ||