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

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

Loading…
Cancel
Save