Allow for comment deletion (#363)

* Allow for comment deletion

Receive and emit deletion activity
Add button to delete comment

* Remove debug print and fix copy-past typo

* Improve style of comment deletion button
This commit is contained in:
fdb-hiroshima
2018-12-23 11:13:36 +01:00
committed by GitHub
parent 0df9c4d400
commit 5c5cf36b0d
8 changed files with 86 additions and 12 deletions
+4 -3
View File
@@ -202,17 +202,18 @@ main .article-meta {
}
// New comment form
form input[type="submit"] {
> form input[type="submit"] {
font-size: 1em;
}
// Response button
a.button {
// Response/delete buttons
a.button, form.inline, form.inline input {
display: inline-block;
padding: 0;
background: none;
color: $black;
border: none;
margin-right: 2em;
&::before {
color: $purple;
+2 -2
View File
@@ -17,7 +17,7 @@
fill: none;
}
.icon {
.icon:before {
font-family: "Feather";
speak: none;
font-style: normal;
@@ -257,4 +257,4 @@
.icon-command:before { content: "\e8fb"; }
.icon-cloud:before { content: "\e8fc"; }
.icon-hash:before { content: "\e8fd"; }
.icon-headphones:before { content: "\e8fe"; }
.icon-headphones:before { content: "\e8fe"; }