changeset 46925:c538fe357ff9

8186460: Fix stylesheet to better display multi-row headers in "striped" tables. Reviewed-by: bpatel
author jjg
date Wed, 23 Aug 2017 10:53:57 -0700
parents 58445145ef13
children 25ac5da6502e
files langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css	Tue Aug 22 23:26:28 2017 -0700
+++ b/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css	Wed Aug 23 10:53:57 2017 -0700
@@ -854,6 +854,8 @@
 }
 table.striped > thead {
     background-color: #DDD;
+}
+table.striped > thead > tr > th, table.striped > thead > tr > td {
     border: 1px solid black;
 }
 table.striped > tbody > tr:nth-child(even) {
@@ -862,8 +864,7 @@
 table.striped > tbody > tr:nth-child(odd) {
     background-color: #FFF
 }
-table.striped > thead > tr > th, table.striped > tbody > tr > th,
-table.striped > tbody > tr > td, table.striped > tbody > tr > td {
+table.striped > tbody > tr > th, table.striped > tbody > tr > td {
     border-left: 1px solid black;
     border-right: 1px solid black;
 }