The configure dialog for blocks is currently set to a fixed width via
Javascript, but there is no handler for browser resizing and it results in the
dialogue being very wide for the sake of just one line when a license agreement
is enabled.
Fix this issue by making all dimensions percentages, and using a combination of
max-width: 90% and width: max-content. In addition, make the dialog fixed
position with its own scrollbars as needed (the body's scrollbar is disabled
when the dialog is shown).
Contextual help's width code and CSS is also adjusted so that it wraps within
dialog boxes rather than pushing the width out.
Reviewed: https:/ /reviews. mahara. org/3728 gitorious. org/mahara/ mahara/ commit/ 141ee71b4a56c14 023a7b3f2b79329 34895bce0c
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 141ee71b4a56c14 023a7b3f2b79329 34895bce0c
Author: Nigel Cunningham <email address hidden>
Date: Mon Dec 29 09:30:10 2014 +1100
Bug1051844: Fix block configure dialog width.
The configure dialog for blocks is currently set to a fixed width via
Javascript, but there is no handler for browser resizing and it results in the
dialogue being very wide for the sake of just one line when a license agreement
is enabled.
Fix this issue by making all dimensions percentages, and using a combination of
max-width: 90% and width: max-content. In addition, make the dialog fixed
position with its own scrollbars as needed (the body's scrollbar is disabled
when the dialog is shown).
Contextual help's width code and CSS is also adjusted so that it wraps within
dialog boxes rather than pushing the width out.
Change-Id: If2a40739f1510c edcf9a6133ccfb8 f0a18257356