Avoid jumping CKEditor

This is a hack: we're making the textarea have the same size as CKEditor
so when it's replaced the page won't jump.

A very similar hack was removed in commit e844b0b2. Back then I thought
this was a small issue we could live with, but the user experience turns
out to be a bit annoying, and it makes tests fail sometimes because
Capybara is trying to click something when the page jumps, and so it
misses the click.
This commit is contained in:
Javi Martín
2019-11-06 20:26:26 +01:00
parent 0d2ca78f46
commit 4ab3498892

View File

@@ -1076,6 +1076,15 @@ form {
margin-bottom: $line-height;
}
.html-area {
height: 272px;
margin-bottom: $line-height;
&.admin {
height: 572px;
}
}
.checkbox,
.radio {
display: inline-block;