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


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
Just support it if you like
comment Grab the couch

Please log in to comment