diff --git a/src/newsreader/js/components/Messages.js b/src/newsreader/js/components/Messages.js
index 150b003..3fed5de 100644
--- a/src/newsreader/js/components/Messages.js
+++ b/src/newsreader/js/components/Messages.js
@@ -17,7 +17,7 @@ class Messages extends React.Component {
const messages = this.state.messages.map((message, index) => {
return (
- {message.text} this.close(index)} />
+ {message.text} this.close(index)} />
);
});
diff --git a/src/newsreader/js/pages/categories/components/CategoryCard.js b/src/newsreader/js/pages/categories/components/CategoryCard.js
index 2e7cad4..2ba446c 100644
--- a/src/newsreader/js/pages/categories/components/CategoryCard.js
+++ b/src/newsreader/js/pages/categories/components/CategoryCard.js
@@ -11,7 +11,7 @@ const CategoryCard = props => {
if (rule.favicon) {
favicon =
;
} else {
- favicon = ;
+ favicon = ;
}
return (
diff --git a/src/newsreader/js/pages/homepage/components/postlist/PostList.js b/src/newsreader/js/pages/homepage/components/postlist/PostList.js
index 7a5422e..66e3b7f 100644
--- a/src/newsreader/js/pages/homepage/components/postlist/PostList.js
+++ b/src/newsreader/js/pages/homepage/components/postlist/PostList.js
@@ -55,7 +55,7 @@ class PostList extends React.Component {
return (
-
+
Select an item to show its unread posts
diff --git a/src/newsreader/news/collection/templates/news/collection/views/rules.html b/src/newsreader/news/collection/templates/news/collection/views/rules.html
index 9373391..ea6aaf8 100644
--- a/src/newsreader/news/collection/templates/news/collection/views/rules.html
+++ b/src/newsreader/news/collection/templates/news/collection/views/rules.html
@@ -58,16 +58,16 @@
{% if rule.failed %}
-
+
{% else %}
-
+
{% endif %}
|
{% if rule.enabled %}
-
+
{% else %}
-
+
{% endif %}
|
diff --git a/src/newsreader/news/core/templates/news/core/widgets/rule.html b/src/newsreader/news/core/templates/news/core/widgets/rule.html
index beebe29..7ad5425 100644
--- a/src/newsreader/news/core/templates/news/core/widgets/rule.html
+++ b/src/newsreader/news/core/templates/news/core/widgets/rule.html
@@ -7,7 +7,7 @@
{% if option.instance.favicon %}
{% else %}
-
+
{% endif %}
{{ option.label }}
diff --git a/src/newsreader/scss/components/messages/_messages.scss b/src/newsreader/scss/components/messages/_messages.scss
index b1ba9d0..6e626c9 100644
--- a/src/newsreader/scss/components/messages/_messages.scss
+++ b/src/newsreader/scss/components/messages/_messages.scss
@@ -29,11 +29,10 @@
background-color: $transparant-green;
}
- & .gg-close {
+ & i {
position: absolute;
top: 15px;
right: 15px;
- --ggs: 2;
}
}
diff --git a/src/newsreader/scss/components/post-message/_post-message.scss b/src/newsreader/scss/components/post-message/_post-message.scss
index f4704c3..cdd069b 100644
--- a/src/newsreader/scss/components/post-message/_post-message.scss
+++ b/src/newsreader/scss/components/post-message/_post-message.scss
@@ -17,5 +17,9 @@
align-items: center;
margin: 5px;
+
+ & i {
+ padding: 0 7px 0 0;
+ }
}
}
diff --git a/src/newsreader/scss/components/rules/_rules.scss b/src/newsreader/scss/components/rules/_rules.scss
index 9166195..404d0e5 100644
--- a/src/newsreader/scss/components/rules/_rules.scss
+++ b/src/newsreader/scss/components/rules/_rules.scss
@@ -27,8 +27,7 @@
align-items: center;
width: 80%;
- & .gg-image {
- --ggs: 80%;
+ & i {
margin: 0 5px 0 0;
min-width: 20px;
}
diff --git a/src/newsreader/templates/base.html b/src/newsreader/templates/base.html
index 792997f..3c65329 100644
--- a/src/newsreader/templates/base.html
+++ b/src/newsreader/templates/base.html
@@ -28,7 +28,7 @@
{% endif %}
-
+
{% if messages %}
diff --git a/todo.txt b/todo.txt
deleted file mode 100644
index 0cb6e6b..0000000
--- a/todo.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-# font awesome refactor
-
-To be refactored:
- - src/newsreader/js/pages/categories/components/CategoryCard.js:14: favicon = ;
- - src/newsreader/js/pages/homepage/components/postlist/PostList.js:58:
- - src/newsreader/js/components/Messages.js:20: {message.text} this.close(index)} />
- - src/newsreader/templates/base.html:31:
- - src/newsreader/news/core/templates/news/core/widgets/rule.html:10:
- - src/newsreader/news/collection/templates/news/collection/views/rules.html:61:
- - src/newsreader/news/collection/templates/news/collection/views/rules.html:63:
- - src/newsreader/news/collection/templates/news/collection/views/rules.html:68:
- - src/newsreader/news/collection/templates/news/collection/views/rules.html:70:
- - src/newsreader/scss/components/messages/_messages.scss:32: & .gg-close {
- - src/newsreader/scss/components/rules/_rules.scss:30: & .gg-image {
-
- - New dark colors for buttons