aboutsummaryrefslogtreecommitdiff
path: root/src/components/mao-fourms.js
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-07-30 18:37:33 -0400
committerMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-07-30 18:37:33 -0400
commitde1b4edad08812dc7756102f5862596bb2e28528 (patch)
treee7083c2db371b0a25ca51b55c780a35549db7959 /src/components/mao-fourms.js
parent9d96ac4ae65c9fe6f5df8b5a95028495f4b00c49 (diff)
Continuing on adding content to mao-fourms and mao-tutoring
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');