Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34c2c7b

Browse files
committed
Merge pull requestmarianoguerra#33 from IceMan81/master
CSS did not account for the tbody tags in the generated table
2 parents6bd477f +567e68d commit34c2c7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎css/json.human.css‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
vertical-align: top;
5454
}
5555

56-
.jh-type-object>tr:nth-child(odd), .jh-type-array>tr:nth-child(odd){
56+
.jh-type-object>tbody>tr:nth-child(odd), .jh-type-array>tbody>tr:nth-child(odd){
5757
background-color:#f5f5f5;
5858
}
5959

60-
.jh-type-object>tr:nth-child(even), .jh-type-array>tr:nth-child(even){
60+
.jh-type-object>tbody>tr:nth-child(even), .jh-type-array>tbody>tr:nth-child(even){
6161
background-color:#fff;
6262
}
6363

@@ -75,16 +75,16 @@ th.jh-key{
7575
text-align: left;
7676
}
7777

78-
.jh-type-object>tr, .jh-type-array>tr{
78+
.jh-type-object>tbody>tr, .jh-type-array>tbody>tr{
7979
border:1px solid#ddd;
8080
border-bottom: none;
8181
}
8282

83-
.jh-type-object>tr:last-child, .jh-type-array>tr:last-child{
83+
.jh-type-object>tbody>tr:last-child, .jh-type-array>tbody>tr:last-child{
8484
border-bottom:1px solid#ddd;
8585
}
8686

87-
.jh-type-object>tr:hover, .jh-type-array>tr:hover{
87+
.jh-type-object>tbody>tr:hover, .jh-type-array>tbody>tr:hover{
8888
border:1px solid#F99927;
8989
}
9090

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp