mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 22:45:18 +02:00
fix check-lists example
This commit is contained in:
@@ -52,7 +52,7 @@ class CheckListItem extends React.Component {
|
|||||||
onChange={this.onChange}
|
onChange={this.onChange}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<span contentEditable>
|
<span contentEditable suppressContentEditableWarning>
|
||||||
{children}
|
{children}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -211,6 +211,7 @@ input:focus {
|
|||||||
.check-list-item {
|
.check-list-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.check-list-item > span:first-child {
|
.check-list-item > span:first-child {
|
||||||
|
Reference in New Issue
Block a user