IDEA-134480 Make one-row IntelliJ tabs shorter if there is no space in tabs container