1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

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 {