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

XF 1.5 Resize resource editor

Sunka

Well-known member
#1
When creating new thread, reply to thread, post edit I resize editor to 80% of screen

Code:
.thread_reply .xenForm
{
    max-width: 80%
}

.thread_create .xenForm
{
    max-width: 80%
}   

.post_edit .xenForm
{
    max-width: 80%
} 

.xenOverlay
{
    max-width: 80%
}
How to that with resource (when creating new resource or edit old one)
 

Brogan

XenForo moderator
Staff member
#2
It would likely just require adding new selectors for resource_add, resource_version_add and any other relevant templates.

Code:
.thread_reply .xenForm,
.resource_add .xenForm,
.resource_version_add .xenForm
{
    max-width: 80%
}
Untested.