Skip to content

Commit 036fa2b

Browse files
committed
demo: Make code sample's scrollbar flush to border
1 parent 1bfd8fc commit 036fa2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/src/main/resources/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@
106106
}
107107

108108
.code-sample {
109-
-fx-padding: 8;
110109
-fx-background-color: transparent, transparent;
111110
}
112-
.code-sample .content {
111+
.code-sample .scroll-pane .content {
113112
-fx-background-color: #f4f4f4;
113+
-fx-padding: 8;
114114
}
115115

116116
.type-ramp .label.heading {

0 commit comments

Comments
 (0)