Author: sebb
Date: Mon Oct 5 16:16:58 2015
New Revision: 1706869
URL: http://svn.apache.org/viewvc?rev=1706869&view=rev
Log:
Fix Property tables so central description column does not run into side columns
Modified:
jmeter/branches/docs-2.13/xdocs/css/new-style.css
Modified: jmeter/branches/docs-2.13/xdocs/css/new-style.css
URL: http://svn.apache.org/viewvc/jmeter/branches/docs-2.13/xdocs/css/new-style.css?rev=1706869&r1=1706868&r2=1706869&view=diff
==============================================================================
--- jmeter/branches/docs-2.13/xdocs/css/new-style.css (original)
+++ jmeter/branches/docs-2.13/xdocs/css/new-style.css Mon Oct 5 16:16:58 2015
@@ -180,6 +180,11 @@ figure>a>img, .screenshot>a>img {
.property .description {
vertical-align: top;
width: 60%;
+ /* add padding so description does not run into side columns */
+ padding-left: 1.5em;
+ padding-right: 1.5em;
+ /* treat padding as part of the content, so we don't need to adjust width to compensate
*/
+ box-sizing: border-box;
}
.property .required {
@@ -337,6 +342,8 @@ table {
.required {
display: block;
width: 100%;
+ /* lose the padding applied for wider screens */
+ padding: 0;
}
.property .required {
border-bottom: 1px solid #ddd;
|