Skip to content

Commit

Permalink
chore(designable): improve DesignableText experience
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Aug 23, 2021
1 parent 9ece25f commit 0f0285d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions designable/antd/src/components/DesignableText/styles.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.dn-text {
min-height: 22px !important;
padding: 4px;

&:empty::before {
content: 'Please Input';
display: block;
opacity: 0.6;
}
&:focus{
padding: 4px;
}
}
6 changes: 3 additions & 3 deletions designable/next/src/components/DesignableText/styles.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.dn-text {
min-height: 22px !important;
padding: 4px;

&:empty::before {
content: 'Please Input';
display: block;
opacity: 0.6;
}
&:focus{
padding: 4px;
}
}

0 comments on commit 0f0285d

Please sign in to comment.