Fix octo-block css

This commit is contained in:
Chen-I Lim 2020-11-03 16:49:13 -08:00
parent e0bcb5ee60
commit 31cd68bade
2 changed files with 14 additions and 5 deletions

View file

@ -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>

View file

@ -190,6 +190,13 @@ hr {
width: 100%;
padding-right: 126px;
> * {
flex: 1 1 auto;
}
> .octo-block-margin {
flex: 0 0 auto;
}
}
.octo-block-margin {