Vertical tabs to horizontal tabs

Is there any comment or best practice to use the below case

I have a vertical tab of material design used in desktop version of a website portal. It is a Resposive web and when the viewport size is reduced for mobile devices the same tabs are made as horizontal tabs.

Any ideas on if this can be implemented and is a good way to use? or Any ways to improvise this case?

Please note: this is a patch that is asked for and not a design phase problem that should have been taken care of.