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>
{ pinned <Tooltip title='Switch pinned property'>
? <Icon type='pushpin' theme='filled' onClick={unpin} /> { pinned
: <Icon type='pushpin' onClick={pin} />} ? <Icon type='pushpin' theme='filled' onClick={unpin} />
: <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>
{ pinned <Tooltip title='Switch pinned property'>
? <Icon type='pushpin' theme='filled' onClick={unpin} /> { pinned
: <Icon type='pushpin' onClick={pin} />} ? <Icon type='pushpin' theme='filled' onClick={unpin} />
: <Icon type='pushpin' onClick={pin} />}
</Tooltip>
</Col> </Col>
) )
} }

@ -102,13 +102,19 @@
> div:nth-child(3) > div > div { > div:nth-child(3) > div > div {
width: 100%; width: 100%;
} }
div:last-child > div > button { > div:last-child {
width: 100%; span {
&:nth-child(1) { width: 100%;
border-radius: 3px 0px 0px 3px;
} }
&:nth-child(2) {
border-radius: 0px 3px 3px 0px; button {
width: 100%;
&:nth-child(1) {
border-radius: 3px 0px 0px 3px;
}
&:nth-child(2) {
border-radius: 0px 3px 3px 0px;
}
} }
} }
} }

Loading…
Cancel
Save