marp-team / marp-core

The core of Marp converter
MIT License
786 stars 132 forks source link

Set the width of fitting content as max-content #233

Closed yhatt closed 3 years ago

yhatt commented 3 years ago

In the corner case like #232, the observer for fitting contents may not calculate an optimal size.

width: max-content represents to force width into the maximum width that contents can take. This defintion will prevent unexpected zoom animation caused by fitting observer.