Skip to content

Commit ee3e114

Browse files
committed
Hide dropdown when block is not selected
1 parent aaa003d commit ee3e114

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
.wp-block-jetpack-dropdown {
2+
display: none;
23

34
p {
4-
margin-bottom: 10px
5+
margin-bottom: 10px;
56
}
6-
}
7+
}
8+
9+
.is-selected,
10+
.has-child-selected {
11+
12+
.wp-block-jetpack-dropdown {
13+
display: block;
14+
}
15+
}

0 commit comments

Comments
 (0)