Note that there are some explanatory texts on larger screens.

plurals
  1. POwill_paginate appears wrong in production
    primarykey
    data
    text
    <p><strong>UPDATE:</strong> I found through chrome dev tools that the custom.css.scss below wasn't being used in production. Does anyone know why heroku wouldn't use some scss?</p> <p>I'm following ruby on rails tutorial and the pagination for the index appears off in production. It appears as if the image is not clearing the above image. Any help is appreciated. Thanks</p> <p>This is how the index looks in development: </p> <p><img src="https://i.stack.imgur.com/3jnd1.png" alt="How index looks in development"></p> <p>This is how the index looks in production: <img src="https://i.stack.imgur.com/J6Dli.png" alt="How index looks in production"></p> <p>Here is the css in custom.css.scss:</p> <pre><code>/* Masters index */ .masters { list-style: none; margin: 0; li { overflow: auto; padding: 10px 0; border-top: 1px solid $grayLighter; &amp;:last-child { border-bottom: 1px solid $grayLighter; } } } </code></pre> <p>The index.html.erb</p> <pre><code>&lt;% provide(:title, 'All masters') %&gt; &lt;h1&gt;All masters&lt;/h1&gt; &lt;%= will_paginate %&gt; &lt;ul class="masters"&gt; &lt;%= render @masters %&gt; &lt;/ul&gt; &lt;%= will_paginate %&gt; </code></pre> <p>_master.html.erb</p> <pre><code>&lt;li&gt; &lt;%= gravatar_for master, size: 52 %&gt; &lt;%= link_to master.name, master %&gt; &lt;% if current_master.admin? &amp;&amp; !current_master?(master) %&gt; | &lt;%= link_to "delete", master, method: :delete, data: { confirm: "Are you sure you want to delete this master?" } %&gt; &lt;% end %&gt; &lt;/li&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload