我正在尝试在响应式 View 上管理我的包装器/ Canvas 以适应 div。问题是它溢出了 div 的框架(看截图)
我尝试使用 min-width 和 max-width,但没有任何效果。
.wrapper {
margin-left: auto;
margin-right: auto;
margin-bottom: 8px;
position: relative;
width: 262px;
height: 150px;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.signature_client,
.signature_tech {
position: absolute;
left: 0;
top: 0;
width: 280px;
height: 150px;
}
最佳答案
您好,如果您删除填充,它可以解决问题
.table>tbody>tr>td {
padding:8px 0px;
}
关于html - 如何在 div 中安装响应式包装 Canvas signature_pad?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48285088/