Title Folding CSS Causing Lag in Obsidian 1.7.7

Hello,

I use the following CSS in Obsidian to make long headings easier to read. Unfortunately, in version 1.7.7, this CSS is causing the app to lag. I particularly experience this issue when navigating folders with a large number of long headings:

.nav-file-title-content, .nav-folder-title-content {
overflow: visible;
word-wrap: break-word;
white-space: pre-wrap;
}

Could you optimize the CSS or help resolve the problem?