We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 3843 - 'overflow: hidden;' in #main causes some text to disappear
'overflow: hidden;' in #main causes some text to disappear
Product: OJS
Classification: Unclassified
Component: User Interface
All Mac OS X 10.0
: P3 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2008-10-29 15:12 PDT by Siavash Miri
Modified: 2009-02-13 17:33 PST (History)
2 users (show)

See Also:
Version Reported In:
Also Affects:

Patch against OJS Pre-2.2.3/Pre-2.3 CVS and OCS Pre-2.1.2/Pre-2.3 CVS (1.36 KB, patch)
2008-10-29 16:26 PDT, Matthew Crider
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Siavash Miri 2008-10-29 15:12:29 PDT
On small screens or if the text size is a little large, the "overflow: hidden;" property of #main in the css file makes a few options disappear.

This was noticed by barry in aishe's OJS installation after they were upgraded to 2.2.2. When he wanted to view potential list of reviewers (probably would be the same for any other role), half of the actions on the right of each user were missing due to "overflow: hidden;".
Comment 1 Matthew Crider 2008-10-29 15:23:39 PDT
This can be fixed by changing "overflow: hidden;" to "overflow: auto;", which will introduce a horizontal scroll bar to the bottom if there is an overflow.  Unfortunately, because of the precarious nature of the layout and css, allowing the content to resize the div will cause the whole layout to collapse.  I'll post a patch for this soon.
Comment 2 Matthew Crider 2008-10-29 16:26:28 PDT
Created attachment 1066 [details]
Patch against OJS Pre-2.2.3/Pre-2.3 CVS and OCS Pre-2.1.2/Pre-2.3 CVS
Comment 3 Alec Smecher 2009-02-13 17:04:17 PST
Matt, this was accidentally filed against 2.2.2 -- do you recall its status?
Comment 4 Matthew Crider 2009-02-13 17:07:12 PST
I'm quite sure it wasn't committed anywhere.
Comment 5 Alec Smecher 2009-02-13 17:16:43 PST
OK, but should it be? How widely has it been browser-tested, and do you expect it'll cause layout headaches for users who've customized with CSS?
Comment 6 Matthew Crider 2009-02-13 17:27:30 PST
I probably wouldn't--I don't think I really tested it at all, and it doesn't happen very often (only if the user's window is very small and they have a lot of data in certain tables).  Also, the interface overhaul in the devel branches should negate the effect.  If you want, I can do some testing with the stable apps.
Comment 7 Matthew Crider 2009-02-13 17:33:23 PST
BTW, I don't think it would cause any problems with people who customized their css.
Comment 8 Alec Smecher 2009-02-13 17:33:56 PST
OK, let's leave this for now.