Implemented Admin CP should have dynamic width!

Jaxel

Well-known member
Right now the admin control panel uses a fixed width. While this is fine for many, if you have a large resolution monitor it becomes very problematic. I use Chrome, which lets you drag and increase the size of textarea boxes. However, because of the fixed width nature of the control panel, I can only stretch to the right and then the entire left side of my screen is wasted.

Untitled-1.png
 

Brogan

XenForo moderator
Staff member
Moved to suggestions as this is not a bug as such as it has been designed this way.
 

Cezz

Well-known member
There are only two edits required to make the adminCP flexable width... However it requiers you have debug mode enabled.

  1. Go to the Development Tab in Admin.php
  2. Then go the Admin Templates
  3. Filter templates with 'css'
  4. Edit 'admin.css'
Change

HTML:
pageWidth
{
	@property "pageWidth";
	margin: auto;
	width: 950px;
	@property "/pageWidth";
}
with

HTML:
.pageWidth
{
	@property "pageWidth";
	margin: auto;
	width: 95%;
	@property "/pageWidth";
}
Change

HTML:
#contentContainer
{
	position: absolute;
	top: 0px;
	left: 160px;	
	z-index: 500;
}
With

HTML:
#contentContainer
{
	position: absolute;
	top: 0px;
	left: 160px;
	right: 5%;
	z-index: 500;
}

Change

HTML:
#content
	{
		width: 720px;
with

HTML:
#content
	{
		//width: 720px;
 

Kier

XenForo developer
Staff member
Just a note, // is not a valid way to comment out CSS -it actually just produces a parse error.

CSS only supports /* C-style block level commenting */
 

Peter

Active member
Moved to suggestions as this is not a bug as such as it has been designed this way.
I'm surprised that everything else is dynamic and the admin side was left this way. What was the reason? A layout that is equal frontend and backend would be ideal, no?
 
Top