https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-07-09T15:59:42ZRedmineRedmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=181582010-07-09T15:59:42ZFelix Schäfer
<ul><li><strong>Category</strong> changed from <i>Wiki</i> to <i>UI</i></li></ul><p>What versions of chrome and redmine, which theme?</p> Redmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=181612010-07-09T17:31:38ZDouglas Cox
<ul></ul><p>Felix Schäfer wrote:</p>
<blockquote>
<p>What versions of chrome and redmine, which theme?</p>
</blockquote>
<p>Sorry, I am using Chrome 5.0.375.70 (the latest build I believe). And it was doing this from the Trunk build and the build on this website.</p> Redmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=181622010-07-09T17:50:59ZFelix Schäfer
<ul></ul><p>Well, on Safari Mac it does it too, and the culprit is the <code>overflow-x: auto</code> in the <code>div.wiki pre</code> definition, but I'm no css expert by any stretch, and simply removing makes the text overflow out of the box.</p> Redmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=181632010-07-09T18:14:02ZDouglas Cox
<ul></ul><p>Ok, thanks for looking at it. I'll play around with it some this weekend, and see if I can come up with anything that can get rid of it correctly.</p>
<p>What's odd is that the more lines of text inside the block, the more scroll you have available. It's almost like the scroll size calculation isn't taking into account the spacing between lines or something. But since it's happening on two browsers I would think there is a way to make it work with the <em>right</em> css.</p> Redmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=181752010-07-09T19:38:10ZFelix Schäfer
<ul></ul><p>Douglas Cox wrote:</p>
<blockquote>
<p>But since it's happening on two browsers I would think there is a way to make it work with the <em>right</em> css.</p>
</blockquote>
<p>Well, it's 2 webkit based browsers, so not too different from a rendering engine point of view.</p> Redmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=181812010-07-10T04:42:00ZDouglas Cox
<ul></ul><p>I was able to get it to display properly in Firefox, IE8, and Chrome by adding:<br /><pre>
overflow-y: hidden;
</pre></p>
<p>to the <code>div.wiki.pre</code> stylesheet entry.</p> Redmine - Defect #5861: Vertical scrollbar always visible in Wiki "code" blocks in Chrome.https://www.redmine.org/issues/5861?journal_id=186892010-07-25T12:56:52ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>1.0.1</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fix applied in <a class="changeset" title="Fixed: Vertical scrollbar always visible in Wiki "code" blocks in Chrome (#5861)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3891">r3891</a>. Thanks.</p>