Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Ensure that last visible element also gets added to `...` overflow menu if there is not enough space - Remove special behavior for only one overflowing element - This behavior would always add a second element to the `overflow` menu if only one element is currently overflowing. This did not work for the case where only two tabs where open in the first place. In addition, it unnecessarily hide a tab in some cases even if there was enough space to render it. - Also consider potential tab margins in overflow computation Fixes eclipse-theia#13482 Contributed on behalf of STMicroelectronics
- Loading branch information