logo

Member
Member
Offline Offline
Posts: 46
SVN 651: Most admin pages appear crushed horizontally w/FIX

Alrighty, in the admin section, I've poked around, and no panel will display inside the admin section. This is good, but bad if you're set to use a 'top' navigation panel, since it keeps the 40% width columns for everything. It really looks crushed, seriously.

It doesn't affect every page, just Forum, Links, Panels, Bans, Site Settings, Themes, Plugins, Emoticons, and Articles.

So, since the main admin index seemed fine, as well as Members, News, Pages, and Permissions, I inspected the DOM elements.

The admin landing page's contents uses:
Code:

.home-admin-panel {
   width: 75%;
   margin-left: auto;
   margin-right: auto;
}


Members, News, Pages, and Permissions use:
Code:

.admin-panel2 {
   margin-left: auto;
   margin-right: auto;
   width: 80%;
   text-align: center;
}



Whereas Forum, Links, Panels, Bans, Site Settings, Themes, Plugins, Emoticons, and Articles use:
.admin-panel {
   margin-left: auto;
   margin-right: auto;
   width: 40%;
   text-align: center;
}

Since there's no reason (based on what panels display) to keep it 40% and it causes a crushed-horizontally appearance, changing it to..
Code:

.admin-panel {
   margin-left: auto;
   margin-right: auto;
   width: 80%;
   text-align: center;
}

..really helps the admin panel appearance.

There's a few elements here and there that are going to need tweaked, but this 1 character change drastically approves the appearance and gives it a more fluid feel.


eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: SVN 651: Most admin pages appear crushed horizontally w/FIX

Done

Please do not PM me requesting support or anything, use the forums, thats what they are here for

Jump to:


0.05 seconds Queries: 13