Fix octo-block css
This commit is contained in:
parent
e0bcb5ee60
commit
31cd68bade
2 changed files with 14 additions and 5 deletions
|
@ -106,11 +106,13 @@ class CardDetail extends React.Component<Props, State> {
|
|||
text=''
|
||||
placeholderText='Add a description...'
|
||||
onBlur={(text) => {
|
||||
const block = new MutableTextBlock()
|
||||
block.parentId = card.id
|
||||
block.title = text
|
||||
block.order = cardTree.contents.length * 1000
|
||||
mutator.insertBlock(block, 'add card text')
|
||||
if (text) {
|
||||
const block = new MutableTextBlock()
|
||||
block.parentId = card.id
|
||||
block.title = text
|
||||
block.order = cardTree.contents.length * 1000
|
||||
mutator.insertBlock(block, 'add card text')
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -190,6 +190,13 @@ hr {
|
|||
|
||||
width: 100%;
|
||||
padding-right: 126px;
|
||||
|
||||
> * {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
> .octo-block-margin {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.octo-block-margin {
|
||||
|
|
Loading…
Reference in a new issue