aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHari Sankar R <hsr@theinglorio.us>2012-04-02 16:26:23 +0530
committerHari Sankar R <hsr@theinglorio.us>2012-04-02 16:26:23 +0530
commit42101fe8d48cbdbe1a4e73bd9cc388a9e4b490c5 (patch)
tree5ec43236d2ca8902ffcb122edb845590537e21b6
parent3477b5e5a8c419f28d477a4764f5d29f3b04dc79 (diff)
downloadforums-42101fe8d48cbdbe1a4e73bd9cc388a9e4b490c5.tar
forums-42101fe8d48cbdbe1a4e73bd9cc388a9e4b490c5.tar.gz
forums-42101fe8d48cbdbe1a4e73bd9cc388a9e4b490c5.tar.bz2
forums-42101fe8d48cbdbe1a4e73bd9cc388a9e4b490c5.tar.xz
forums-42101fe8d48cbdbe1a4e73bd9cc388a9e4b490c5.zip
[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
-rw-r--r--phpBB/styles/prosilver/template/mcp_topic.html4
-rw-r--r--phpBB/styles/prosilver/theme/cp.css17
-rw-r--r--phpBB/styles/prosilver/theme/tweaks.css10
3 files changed, 29 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_topic.html b/phpBB/styles/prosilver/template/mcp_topic.html
index 5dbc8d670c..e8d5ceada4 100644
--- a/phpBB/styles/prosilver/template/mcp_topic.html
+++ b/phpBB/styles/prosilver/template/mcp_topic.html
@@ -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">
diff --git a/phpBB/styles/prosilver/theme/cp.css b/phpBB/styles/prosilver/theme/cp.css
index aed88831a8..d4382b067e 100644
--- a/phpBB/styles/prosilver/theme/cp.css
+++ b/phpBB/styles/prosilver/theme/cp.css
@@ -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 {
diff --git a/phpBB/styles/prosilver/theme/tweaks.css b/phpBB/styles/prosilver/theme/tweaks.css
index 5e11b2122b..0c03020100 100644
--- a/phpBB/styles/prosilver/theme/tweaks.css
+++ b/phpBB/styles/prosilver/theme/tweaks.css
@@ -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%;
} \ No newline at end of file