Commit be86adfb authored by Greg Rogan's avatar Greg Rogan Committed by Francois Marier
Browse files

admin/user suspension box: fix broken alignment on Chrome



Bug #629576

Change-Id: I958f1d46139910455b0685eaf10d98347a7396f8
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
Signed-off-by: default avatarGreg Rogan <greg.rogan@gmail.com>
Reviewed-on: https://reviews.mahara.org/4

Reviewed-by: default avatarRichard Mansfield <richardm@mahara.org>
parent 01ce1b83
......@@ -74,7 +74,6 @@ function PieformTextarea(element) {//{{{
setStyle(this.element, {
'margin-bottom': '0',
'width': '100%',
'height': this.dimensions.h + 'px'
});
// Wrap textarea
......@@ -108,7 +107,7 @@ function PieformTextarea(element) {//{{{
// Set new height
var height = Math.max(32, y - this.dragOffset - this.heightOffset);
setStyle(this.wrapper, {'height': height + this.grippie.dimensions.h + 1 + 'px'});
setStyle(this.element, {'height': height + 'px'});
setStyle(this.element, {'height': height - this.grippie.dimensions.h + 1 + 'px'});
// Avoid text selection
e.stop();
......
......@@ -349,7 +349,6 @@ div.grippie {
cursor: s-resize;
height: 14px;
padding: 3px 0 0 3px;
* padding: 3px;
}
.memberssearch {
margin-top: 10px;
......@@ -2527,4 +2526,4 @@ form#sendmessage #sendmessage_message,
#editblog_description_tbl {
width: 98% !important;
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment