25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 7.23. Shifted listing groups with translate controlled by JavaScript The problem evident in Figure<br />

7.23 is that we can only see three images at once <strong>and</strong> that they're overflowing out of the container into the<br />

other parts of the page.<br />

To fix this, we'll move the CSS rule overflow: hidden from listing-summaries to<br />

listing-summaries-wrapper.<br />

resources/assets/components/ListingSummaryGroup.vue: ... .listing-summaries-wrapper {<br />

overflow: hidden; } .listing-summaries { display: flex; flex-direction: row;<br />

justify-content: space-between; } ...

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!