- Patch #924040 by dstol, Jeff Burnz: fix misalignment of content types on 'create new content'.

merge-requests/26/head
Dries Buytaert 2010-10-03 02:46:12 +00:00
parent c4d1e88a85
commit 893a70b62d
3 changed files with 1 additions and 9 deletions

View File

@ -8,13 +8,11 @@ ul.links li a,
#page {
height: 1%;
}
#block-system-main ul.node-type-list li a,
#block-system-main ul.admin-list li a {
height: 1px;
position: relative;
display: block;
}
#block-system-main ul.node-type-list li div.description a,
#block-system-main ul.admin-list li div.description a {
display: inline;
}

View File

@ -379,7 +379,6 @@ ul.inline li {
#secondary-links ul.links li a.active {
background: #333;
}
ul.node-type-list li,
ul.admin-list li {
position: relative;
padding-left: 30px;
@ -411,10 +410,6 @@ ul.admin-list.compact li {
ul.admin-list li:last-child {
border-bottom: none;
}
ul.node-type-list .label {
font-size: 1.154em;
}
ul.node-type-list li a,
ul.admin-list li a {
margin-left: -30px;
padding: 0px 0 4px 30px;
@ -424,7 +419,6 @@ ul.admin-list.compact li a {
margin-left: 0;
padding: 0;
}
ul.node-type-list li div.description a,
ul.admin-list li div.description a {
margin-left: 0px;
padding: 0px;

View File

@ -38,7 +38,7 @@ function seven_node_add_list($variables) {
$content = $variables['content'];
$output = '';
if ($content) {
$output = '<ul class="node-type-list">';
$output = '<ul class="admin-list">';
foreach ($content as $item) {
$output .= '<li class="clearfix">';
$output .= '<span class="label">' . l($item['title'], $item['href'], $item['localized_options']) . '</span>';