Moodle Community Sites

moodle2 theme: How to handle wide postings?

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Component/s: moodle.org
  • Labels:
    None

Description

How should we handle wide postings that cause forum posts to spill out of the page?

Activity

Hide
Martin Dougiamas added a comment -

In the parent issue, Urs said:


How shall we handle wide forum content. The situation needs to be handled somehow because it breaks the page layout.

_1 Don't care

_2 Use JavaScript to detect wide content and correct page width.

_3 Keep the page width and offer scroll bars for wide content. No JS needed.


I'm tempted to say (1) because it's a fairly rare issue. Definitely not (2). How does (3) work, Urs?

Show
Martin Dougiamas added a comment - In the parent issue, Urs said:
How shall we handle wide forum content. The situation needs to be handled somehow because it breaks the page layout. _1 Don't care _2 Use JavaScript to detect wide content and correct page width. _3 Keep the page width and offer scroll bars for wide content. No JS needed.
I'm tempted to say (1) because it's a fairly rare issue. Definitely not (2). How does (3) work, Urs?
Hide
Urs Hunkler added a comment -

For scrolling content within a div you need fixed width containers. moodle2 has a dynamic width - here scrolling becomes tricky. So we don't change the actual look.

Show
Urs Hunkler added a comment - For scrolling content within a div you need fixed width containers. moodle2 has a dynamic width - here scrolling becomes tricky. So we don't change the actual look.
Hide
Daniele Cordella added a comment -

Ciao Urs
I don't know if I well understand you but.... as far as I know...
for scrolling content within a div you DO NOT need fixed width container.
Attached is an example with width:50%.
Sorry if I an out of topic.

Show
Daniele Cordella added a comment - Ciao Urs I don't know if I well understand you but.... as far as I know... for scrolling content within a div you DO NOT need fixed width container. Attached is an example with width:50%. Sorry if I an out of topic.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: