Skip to content

Commit

Permalink
fix(crops): [crops]modify crops component
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Oct 28, 2024
1 parent d3c8944 commit 1d34ca8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
:cropvisible="visible"
@update:cropvisible="visible = $event"
:src="imgUrl"
:min-crop-box-width="100"
:min-crop-box-height="100"
:min-container-height="200"
:min-container-width="800"
:min-crop-box-width="200"
:min-crop-box-height="350"
:min-container-height="300"
:min-container-width="650"
></tiny-crop>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
:cropvisible="visible"
@update:cropvisible="visible = $event"
:src="imgUrl"
:min-crop-box-width="100"
:min-crop-box-height="100"
:min-container-height="200"
:min-container-width="800"
:min-crop-box-width="200"
:min-crop-box-height="350"
:min-container-height="300"
:min-container-width="650"
></tiny-crop>
</div>
</template>
Expand Down
1 change: 1 addition & 0 deletions packages/theme/src/crop/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@
margin-right: 8px;
padding: 4px;
cursor: pointer;
border-radius: 4px;

&:hover {
background: #f5f5f5;
Expand Down

0 comments on commit 1d34ca8

Please sign in to comment.