• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Resizing Inline Edit box

Brogan

XenForo moderator
Staff member
#2
Open the post_edit_inline template.

Find this line:
Code:
<form action="{xen:link 'posts/save-inline', $post}" method="post" class="section AutoValidator InlineMessageEditor NoAutoHeader">
Edit it to add a width attribute:
Code:
<form action="{xen:link 'posts/save-inline', $post}" method="post" class="section AutoValidator InlineMessageEditor NoAutoHeader" style="width: 800px">
Change 800px to your desired width.

That's not ideal though as it's no longer centred.
I suspect it's hard coded in the .js.
 

Shelley

Well-known member
#4
Can it be set to a percentage? Like a fluid style?
It can but you have to set the percentage over 100% which wouldn't guarantee at lower resolutions that you would get less than desirable effects. I tried mine at 120% though it seems that setting it to 100% leaves it at the default size.

Unless there's another way of getting it to expand without the risk of it causing side scrolling.