current position:Home>Vue element admin how to modify the height of component El tabs

Vue element admin how to modify the height of component El tabs

2022-04-29 12:51:32CSDN Q & A

As shown in the figure , When there is no data ,el-tabs Can't stretch the height to the end , How to set up

img




Take the answer :

To make a suggestion, you can try , Through the front-end debugging tool , find el-tabs Corresponding css, And then in their own css Define a style with the same name in , In addition to copying the style of the frame itself , Add one more min-height attribute , Hold the minimum height to the height you need , This method should be practical with all frameworks , On the premise that the framework itself does not support , You can try customization


copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/112/202204222032351373.html

Random recommended