Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
fix(ImagePicker):修复内容不居中,方案改为第一个元素margin置为0
Browse files Browse the repository at this point in the history
  • Loading branch information
zoney committed Mar 1, 2021
1 parent 868bab0 commit e8f5820
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/style/components/image-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
padding: $spacing-h-sm;
overflow: hidden;
box-sizing: border-box;
margin-left: -$spacing-h-sm;
}

&__flex-item {
Expand All @@ -24,6 +23,10 @@
height: 100%;
box-sizing: border-box;

&:nth-child(1) {
margin-left: 0 !important;
}

&::after {
content: '';
display: block;
Expand Down

0 comments on commit e8f5820

Please sign in to comment.