Skip to content
Snippets Groups Projects
Commit 3a138bec authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a bug in the show more button

parent 2b12df5f
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,7 @@ ...@@ -25,8 +25,7 @@
/* Support for Firefox. */ /* Support for Firefox. */
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
/* Support for IE. */ /* Support for IE. */
font-feature-settings: 'liga'; font-feature-settings: 'liga'; }
}
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
...@@ -55,8 +54,7 @@ body { ...@@ -55,8 +54,7 @@ body {
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
padding-right: .9375rem; padding-right: .9375rem;
padding-left: .9375rem; padding-left: .9375rem; }
}
body .header, body .footer { body .header, body .footer {
flex-grow: 1; } flex-grow: 1; }
...@@ -73,13 +71,10 @@ form { ...@@ -73,13 +71,10 @@ form {
margin: 0 auto; margin: 0 auto;
color: #212121; color: #212121;
box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24); } box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24); }
@media (max-width: 320px) { @media (max-width: 320px) {
form { form {
padding: 8px 16px; padding: 8px 16px;
margin: initial; margin: initial; } }
}
}
.header { .header {
display: flex; display: flex;
......
This diff is collapsed.
...@@ -2,6 +2,7 @@ class LoadMore extends Component { ...@@ -2,6 +2,7 @@ class LoadMore extends Component {
constructor(text, eventListener) { constructor(text, eventListener) {
super(); super();
this.render(text); this.render(text);
if (eventListener)
this.addEventListener('click', eventListener); this.addEventListener('click', eventListener);
} }
render(text) { render(text) {
......
...@@ -2,6 +2,7 @@ class LoadMore extends Component { ...@@ -2,6 +2,7 @@ class LoadMore extends Component {
constructor(text, eventListener) { constructor(text, eventListener) {
super(); super();
this.render(text); this.render(text);
if (eventListener)
this.addEventListener("click", eventListener); this.addEventListener("click", eventListener);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment