Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 93284

Summary: A reminder to tweak narrow_book.css
Product: [Eclipse Project] Platform Reporter: Dejan Glozic <dejan>
Component: DocAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: andrea_covas, konradk
Version: 3.1Keywords: Documentation
Target Milestone: 3.1 RC4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dejan Glozic CLA 2005-04-29 12:11:19 EDT
The two special-case CSSs need to be tweaked for 3.1.
Comment 1 Dejan Glozic CLA 2005-05-05 15:57:06 EDT
Andrea, there are two CSSs that are in org.eclipse.platform. The first 
(narrow_book.css) is dynamically injected when a document is shown inside the 
hew Help view in the workbench. It uses smaller fonts (system font 'message-
box') in order to fit better in the workbench. The other one 
(disabled_book.css) is used when a document belongs to a disabled activity 
(both in the help view and in the separate Help window). It is much smaller 
and mostly defines the style of the text injected at the beginning of the doc.

Feel free to tweak the CSSs to get the desired look and portability across 
platforms.
Comment 2 Dejan Glozic CLA 2005-06-08 19:33:30 EDT
Andrea, the only issue I have seen so far is that code that uses Currier style 
is too small when shown in the help view (using narrow_book.css).
Comment 3 Andrea CLA 2005-06-10 15:24:02 EDT
Hi Dejan,

No other issues are immediately apparent to me.

Thanks,
AC
Comment 4 Dejan Glozic CLA 2005-06-13 16:07:53 EDT
Increasing priority to handle the code font size issue.
Comment 5 Dejan Glozic CLA 2005-06-20 15:03:55 EDT
Konrad, we need to tweak narrow_book.css so that code style is easier to read. 
Right now the resulting font size for code is too small (at least on Windows).
Comment 6 Dejan Glozic CLA 2005-06-23 10:54:53 EDT
Steps to reproduce:

1) Show Help view, 'All Topics' page
2) Click on the TOC topics until a topic with code snippets is found (document 
must be shown in-place in the help view)
3) Observe: code snippet font is too small and is hard to read

We need to use a diferent formula to compute the font size
Comment 7 Dejan Glozic CLA 2005-06-23 19:47:48 EDT
Done.