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

Implemented Admin CP should have dynamic width!

Jaxel

Well-known member
#1
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
 

Cezz

Well-known member
#3
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;
 

Peter

Active member
#8
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?