aboutsummaryrefslogtreecommitdiff
path: root/src/components/mao-fourms.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/mao-fourms.js')
-rw-r--r--src/components/mao-fourms.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/mao-fourms.js b/src/components/mao-fourms.js
index 66871dd..e7398b5 100644
--- a/src/components/mao-fourms.js
+++ b/src/components/mao-fourms.js
@@ -64,7 +64,7 @@ class MaoFourms extends connect(store)(PageViewElement) {
text-align: right;
font-weight: lighter;
font-style: italic;
- word-break: break-all;
+ word-break: break-all;
}
.card-content > h3, p {
@@ -83,7 +83,7 @@ class MaoFourms extends connect(store)(PageViewElement) {
grid-template-columns: 1fr;
}
- @media (min-width: 550px) {
+ @media (min-width: 460px) {
.post-grid {
grid-template-columns: 1fr 1fr;
}
@@ -157,7 +157,8 @@ class MaoFourms extends connect(store)(PageViewElement) {
updateSection() {
if(this.shadowRoot) {
- var postsGrid = this.shadowRoot.getElementById('posts-grid');
+ var postsGrid = this.shadowRoot.getElementById('posts-grid');
+ postsGrid.innerHTML = "";
for(var i = 0; i < this.fourmPosts.length; i++) {
var paperCard = document.createElement('paper-card');