This commit is contained in:
Jesse-Ma
2022-12-23 17:38:33 +08:00
parent 5a9fe66cad
commit 616e9499d7
3 changed files with 3 additions and 19 deletions

View File

@@ -448,7 +448,7 @@ export default {
entries.forEach(entry => {
let affix = document.querySelector('.ivu-affix');
if (affix) {
affix.setAttribute("style", "top: 0px; width: " + entry.contentRect.width + "px;");
affix.setAttribute("style", "top: 0px; width: " + (entry.contentRect.width + 2) + "px;");
}
});