1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 07:07:51 +02:00

[ticket/10699] Long h2 title breaks div.minitabs in MCP

Fixed overlapping of Subject title over the minitabs.
Added css property to cp.css under MCP Specific tweaks.
Wrapped h2 and #minitabs under .tabs-container with
clear: both

PHPBB3-10699
This commit is contained in:
Hari Sankar R 2012-04-02 16:26:23 +05:30
parent 3477b5e5a8
commit 42101fe8d4
3 changed files with 29 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<!-- INCLUDE mcp_header.html -->
<div class="tabs-container">
<h2><a href="{U_VIEW_TOPIC}">{L_TOPIC}: {TOPIC_TITLE}</a></h2>
<script type="text/javascript">
@ -35,7 +35,7 @@ onload_functions.push('subPanels()');
</li>
</ul>
</div>
</div>
<form id="mcp" method="post" action="{S_MCP_ACTION}">
<div class="panel">

View File

@ -104,6 +104,23 @@ ul.cplist {
width: 100%;
}
.tabs-container h2 {
float: left;
white-space: nowrap;
margin-bottom: 0px;
}
.tabs-container #minitabs {
float: right;
margin-top: 19px;
}
.tabs-container:after {
display: block;
clear: both;
content: '';
}
/* CP tabbed menu
----------------------------------------*/
#tabs {

View File

@ -94,4 +94,14 @@ dl.icon {
*:first-child+html #site-description p {
margin-bottom: 1.0em;
}
/* #minitabs fix for IE */
.tabs-container {
zoom: 1;
}
#minitabs {
white-space: nowrap;
*min-width: 50%;
}