Author: sebb
Date: Mon Oct 5 16:05:44 2015
New Revision: 1706866
URL: http://svn.apache.org/viewvc?rev=1706866&view=rev
Log:
Fix Property tables so central description column does not run into side columns
Modified:
jmeter/trunk/xdocs/css/new-style.css
Modified: jmeter/trunk/xdocs/css/new-style.css
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/css/new-style.css?rev=1706866&r1=1706865&r2=1706866&view=diff
==============================================================================
--- jmeter/trunk/xdocs/css/new-style.css (original)
+++ jmeter/trunk/xdocs/css/new-style.css Mon Oct 5 16:05:44 2015
@@ -199,6 +199,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 {
@@ -431,6 +436,8 @@ table {
.required {
display: block;
width: 100%;
+ /* lose the padding applied for wider screens */
+ padding: 0;
}
.property .required {
border-bottom: 1px solid #ddd;
|