fix(tabs): fixes tab math to address issues when used within dialog
fix(tabs): fixes tab math to address issues when used within dialog

closes #7048. Closes #7118.

ServiceManagementGroup/material,DevVersion/material,SamDLT/material,SamDLT/material,bluebirdtech/material,profoundry-us/material,miguelcobain/material,DevVersion/material,pwistbac/material,JonFerrera/material,jadjoubran/material,HarrisCorp/material,marekmicek/material,HipsterZipster/material,colinskow/material,marekmicek/material,miguelcobain/material,epelc/material,hayloft/material,jelbourn/material,gmoothart/material,gkalpak/material,programmist/material,ServiceManagementGroup/material,ErinCoughlan/material,HipsterZipster/material,jadjoubran/material,crisbeto/material,daniel-nagy/material,pwistbac/material,daniel-nagy/material,hayloft/material,robertmesserle/material,hodeyp/material,marekmicek/material,programmist/material,david-gang/material,epelc/material,clshortfuse/material,hodeyp/material,oostmeijer/material,ErinCoughlan/material,jadjoubran/material,vertazzar/material,Frank3K/material,ilovett/material,welkinhealth/material,david-gang/material,Frank3K/material,DerekLouie/material,acoreyj/material,daniel-nagy/material,daniel-nagy/material,j3ski/material,gmoothart/material,ilovett/material,imjoeco/material,crisbeto/material,Splaktar/material,DerekLouie/material,programmist/material,profoundry-us/material,graingert/material,ErinCoughlan/material,hayloft/material,david-gang/material,angular/material,HarrisCorp/material,epelc/material,DerekLouie/material,acoreyj/material,j3ski/material,jelbourn/material,Frank3K/material,bluebirdtech/material,gmoothart/material,hodeyp/material,HarrisCorp/material,imjoeco/material,robertmesserle/material,j3ski/material,graingert/material,DerekLouie/material,imjoeco/material,ilovett/material,robertmesserle/material,jadjoubran/material,crisbeto/material,SamDLT/material,gkalpak/material,bluebirdtech/material,profoundry-us/material,ilovett/material,JonFerrera/material,JonFerrera/material,gkalpak/material,clshortfuse/material,epelc/material,acoreyj/material,hodeyp/material,colinskow/material,gkalpak/material,SamDLT/material,pwistbac/material,jelbourn/material,graingert/material,david-gang/material,gmoothart/material,imjoeco/material,bluebirdtech/material,crisbeto/material,colinskow/material,welkinhealth/material,marekmicek/material,profoundry-us/material,robertmesserle/material,HipsterZipster/material,graingert/material,HarrisCorp/material,miguelcobain/material,ErinCoughlan/material,Frank3K/material,DevVersion/material,Splaktar/material,angular/material,angular/material,jelbourn/material,vertazzar/material,DevVersion/material,oostmeijer/material,vertazzar/material,dmitriz/material,ServiceManagementGroup/material,JonFerrera/material,clshortfuse/material,dmitriz/material,acoreyj/material,hayloft/material,oostmeijer/material,ServiceManagementGroup/material,oostmeijer/material,vertazzar/material,j3ski/material,colinskow/material,dmitriz/material,miguelcobain/material,welkinhealth/material,clshortfuse/material,welkinhealth/material,programmist/material,dmitriz/material,angular/material,Splaktar/material,pwistbac/material,Splaktar/material,HipsterZipster/material