kopia lustrzana https://github.com/OpenDroneMap/WebODM
Delete tags logic
rodzic
809f6269bc
commit
e6c423f240
|
@ -41,7 +41,7 @@ class TagsField extends React.Component {
|
|||
return e => {
|
||||
e.stopPropagation();
|
||||
|
||||
// TODO
|
||||
this.setState(update(this.state, { tags: { $splice: [[idx, 1]] } }));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
.tags-field{
|
||||
height: auto;
|
||||
padding-bottom: 2px;
|
||||
|
||||
&:hover{
|
||||
cursor: text;
|
||||
}
|
||||
|
@ -13,8 +15,10 @@
|
|||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-top: -2px;
|
||||
border-radius: 6px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 6px;
|
||||
|
||||
|
||||
a{
|
||||
margin-top: 2px;
|
||||
|
@ -29,6 +33,8 @@
|
|||
display: inline-block;
|
||||
outline: none;
|
||||
border: none;
|
||||
margin-bottom: 10px;
|
||||
min-width: 1px;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue