Vote #80027
完了admin/info page: text cut off in pre tag on mobile
0%
journals
Heddi Nabbisen wrote:
> On mobile, information text in <code>pre</code> tag is cut off in the middle in admin/info page.
The attachment diff updates the style to show horizontal scroll bar.
It's just adding a line to application.css:
<pre><code>
.box > pre { overflow-x: auto; }
</code></pre>
Side effect investigation was done with the command: <code>grep -r "\.box[^a-zA-Z0-9_-]" .</code>
h3. Results
Classic Theme:
!02a-after-classic-theme.png!
Alternate Theme:
!02b-after-alternate-theme.png!
--------------------------------------------------------------------------------
Before:
!01-brefore-classic-theme.png!
--------------------------------------------------------------------------------
The attached patch should be fine.
!{width: 320px; border: 1px solid #ccc;}.env-info-scrollbar@2x.png!
--------------------------------------------------------------------------------
Committed the patch. Thank you for reporting this issue.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------