1. 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!

Discussion in 'Closed Suggestions' started by Jaxel, Oct 7, 2010.

  1. Jaxel

    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
     
    estranged, CyberAP, Luke F and 5 others like this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved to suggestions as this is not a bug as such as it has been designed this way.
     
  3. Cezz

    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;
    
     
    dutchbb and NolF like this.
  4. dutchbb

    dutchbb Well-Known Member

    A little toggle switch somewhere for this would be nice :)
     
    soloarquitectura likes this.
  5. soloarquitectura

    soloarquitectura Active Member

    I agree.
    That would be a very interesting improvement, a control panel with dynamic width.
     
  6. cedivad

    cedivad Active Member

    And dynamic height.
     
  7. Kier

    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 */
     
    Forsaken and James like this.
  8. Peter

    Peter Active Member

    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?
     

Share This Page