Solve methods in the checkbox location in the Layui data table

Use method rendering to generate a data table, add Checkbox, but found that the checkbox location is not in place, as shown in the figure below

解决Layui数据表格中checkbox位置不居中的方法

With the official community of Layui, find the following code, only need to add the following style to solve
   .layui-table-cell .layui-form-checkbox [lay-skin = "primary"] {TOP: 50%; Transform: TranslateY (-50%);} 

The above solution in the Layui data form is that Xiaobian sharing all the contents to everyone, I hope to give you a reference, I hope everyone will support Tumi Cloud.
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment