Skip to content

Commit

Permalink
表单元素前置后置元素位置调整
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuelong committed Sep 12, 2024
1 parent 287d710 commit 8cc47a8
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pl-mobile2",
"version": "1.2.20",
"version": "1.2.21",
"description": "a mobile component library for Vue.js.",
"keywords": [
"vue",
Expand Down
4 changes: 3 additions & 1 deletion packages/checkbox/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ export default {
flex: 1;
}
&-prepend {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
padding-right: 0.4em;
}
Expand Down
4 changes: 3 additions & 1 deletion packages/datetime/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ export default {
}
&-append,
&-prepend {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
&-append {
padding-left: 0.4em;
Expand Down
4 changes: 3 additions & 1 deletion packages/input/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ export default {
}
&-append,
&-prepend {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
&-append {
padding-left: 0.4em;
Expand Down
4 changes: 3 additions & 1 deletion packages/radio/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ export default {
flex: 1;
}
&-prepend {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
padding-right: 0.4em;
}
Expand Down
4 changes: 3 additions & 1 deletion packages/range/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ export default {
}
&-append,
&-prepend {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
&-append {
padding-left: 0.4em;
Expand Down
4 changes: 3 additions & 1 deletion packages/select/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,9 @@ export default {
}
&-append,
&-prepend {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
&-append {
padding-left: 0.4em;
Expand Down

0 comments on commit 8cc47a8

Please sign in to comment.