Minor fixes

main
Boris Sekachev 6 years ago
parent 251d38db5b
commit ff0a5659c7

@ -368,9 +368,11 @@ function ItemButtonsComponent(props: ItemButtonsComponentProps): JSX.Element {
{
shapeType !== ShapeType.POINTS && (
<Col>
<Tooltip title='Switch pinned property'>
{ pinned
? <Icon type='pushpin' theme='filled' onClick={unpin} />
: <Icon type='pushpin' onClick={pin} />}
</Tooltip>
</Col>
)
}
@ -426,9 +428,11 @@ function ItemButtonsComponent(props: ItemButtonsComponentProps): JSX.Element {
{
shapeType !== ShapeType.POINTS && (
<Col>
<Tooltip title='Switch pinned property'>
{ pinned
? <Icon type='pushpin' theme='filled' onClick={unpin} />
: <Icon type='pushpin' onClick={pin} />}
</Tooltip>
</Col>
)
}

@ -102,7 +102,12 @@
> div:nth-child(3) > div > div {
width: 100%;
}
div:last-child > div > button {
> div:last-child {
span {
width: 100%;
}
button {
width: 100%;
&:nth-child(1) {
border-radius: 3px 0px 0px 3px;
@ -112,6 +117,7 @@
}
}
}
}
.cvat-propagate-confirm {
> .ant-input-number {

Loading…
Cancel
Save