Making the width of the left navcolumn adjustable via a property.
${maven.ui.navcol.width} now defaults to 20% and replaces a hardcoded
20% in the site.jsl. With the new hierarchic expanding navigation,
it can get pretty wide when pushed to its limits.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc324245e0
commit
d5877e36a7
@ -23,6 +23,8 @@ maven.xdoc.poweredby.image=maven-propaganda.png
|
||||
maven.xdoc.poweredby.title=Powered by Maven
|
||||
maven.xdoc.poweredby.url=http://maven.apache.org/
|
||||
|
||||
# The width of the navigation column
|
||||
maven.ui.navcol.width = 20%
|
||||
|
||||
#
|
||||
# UI Color Prefs
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
<!-- Body of the page -->
|
||||
<table border="0" cellspacing="0" cellpadding="8" width="100%"> <!--id="main" -->
|
||||
<tr valign="top">
|
||||
<td id="leftcol" width="20%">
|
||||
<td id="leftcol" width="${maven.ui.navcol.width}">
|
||||
<div id="navcolumn">
|
||||
<j:if test="${date == 'navigation-top'}">
|
||||
<div>
|
||||
|
||||
@ -260,6 +260,15 @@
|
||||
(gray).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.ui.navcol.width</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies the width for the navigation column. The
|
||||
default value is <code>20%</code>
|
||||
(gray).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.ui.breadcrumbs.background</td>
|
||||
<td>Yes</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user