Home  >  Article  >  Web Front-end  >  How to modify table row height in layui

How to modify table row height in layui

藏色散人
藏色散人Original
2020-11-13 10:52:3311144browse

How to modify the table row height in layui: first open the corresponding front-end code file; then set the height and line-height styles of the data table cells at the same time, the code is such as ".layui-table-cell{height:36px ;line-height: 36px;}".

How to modify table row height in layui

Recommended: "layUI Tutorial"

Layui data table adjustment row height

Set the height and line-height styles of the data table cells at the same time, and the attribute values ​​must be consistent

.layui-table-cell{
    height:36px;
    line-height: 36px;
}

The above is the detailed content of How to modify table row height in layui. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to add icon in layuiNext article:How to add icon in layui