Opened 12 years ago

Closed 12 years ago

#7346 closed defect (fixed)

notebook -- needless vertical scroll bars on output

Reported by: was Owned by: boothby
Priority: major Milestone: sage-4.2.1
Component: notebook Keywords:
Cc: Merged in:
Authors: William Stein Reviewers: John Palmieri
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


I mentioned this on IRC, but just to make sure it doesn't fall through the cracks:

When the jsmath fonts are installed, the following input gives an output that the browser thinks is slightly bigger than the output div area.

print jsmath(sqrt(x_1/x))

Since the output div has a (calculated) style of overflow-y: auto, a scrollbar appears on the right of the output div.  However, everything is visible without scrolling, and scrolling down just scrolls the answer out of view.

I think the best thing we can do in this case is make overflow-y: hidden for output divs, or some other value so that scroll bars do not appear.  In other words, in the CSS file:

div.cell_output_div {


Attachments (1)

trac_sagenb-7346.patch (586 bytes) - added by was 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by was

comment:1 Changed 12 years ago by was

  • Status changed from new to needs_review

comment:2 Changed 12 years ago by jhpalmieri

  • Authors set to William Stein
  • Reviewers set to John Palmieri
  • Status changed from needs_review to positive_review

comment:3 Changed 12 years ago by was

  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.