Delete tags logic

pull/1297/head
Piero Toffanin 2023-02-22 14:59:39 -05:00
rodzic 809f6269bc
commit e6c423f240
2 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -41,7 +41,7 @@ class TagsField extends React.Component {
return e => {
e.stopPropagation();
// TODO
this.setState(update(this.state, { tags: { $splice: [[idx, 1]] } }));
}
}

Wyświetl plik

@ -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;
}
}