feat:canvas样式优化
This commit is contained in:
@@ -130,10 +130,26 @@ page {
|
||||
}
|
||||
|
||||
|
||||
// .canvas-wrapper {
|
||||
// width: 100%;
|
||||
// background-color: #fff;
|
||||
// box-sizing: border-box;
|
||||
// }
|
||||
.canvas-wrapper {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 400rpx;
|
||||
background: #f8f9fa;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx dashed #dee2e6;
|
||||
}
|
||||
|
||||
.canvas-content {
|
||||
max-width: 100%;
|
||||
border-radius: 8rpx;
|
||||
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// #canvasContent {
|
||||
|
||||
Reference in New Issue
Block a user