When opening a new tab in the editor, if it does not have secondary tabs then it will remove min-size from the primary tabs so that they occupy the whole height.
However, the selector is so loose that it affects all primary tabs that exist, which means other tabs will be impacted when they shouldn't.
This PR narrows down the selector looking for primary tabs to only inside the page at hand
When opening a new tab in the editor, if it does not have secondary tabs then it will remove
min-size
from the primary tabs so that they occupy the whole height.However, the selector is so loose that it affects all primary tabs that exist, which means other tabs will be impacted when they shouldn't.
This PR narrows down the selector looking for primary tabs to only inside the page at hand
@LukeTowers