File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- /* CSS stylesheet for displaying xarray objects in jupyterlab.
2
- *
3
- */
1
+ /* CSS stylesheet for displaying xarray objects in notebooks */
4
2
5
3
: root {
6
4
--xr-font-color0 : var (
@@ -79,6 +77,7 @@ body.vscode-dark {
79
77
display : block !important ;
80
78
min-width : 300px ;
81
79
max-width : 700px ;
80
+ line-height : 1.6 ;
82
81
}
83
82
84
83
.xr-text-repr-fallback {
@@ -121,6 +120,8 @@ body.vscode-dark {
121
120
padding-left : 0 !important ;
122
121
display : grid;
123
122
grid-template-columns : 150px auto auto 1fr 0 20px 0 20px ;
123
+ margin-block-start : 0 ;
124
+ margin-block-end : 0 ;
124
125
}
125
126
126
127
.xr-section-item {
@@ -131,6 +132,7 @@ body.vscode-dark {
131
132
display : inline-block;
132
133
opacity : 0 ;
133
134
height : 0 ;
135
+ margin : 0 ;
134
136
}
135
137
136
138
.xr-section-item input + label {
@@ -189,7 +191,6 @@ body.vscode-dark {
189
191
.xr-section-summary ,
190
192
.xr-section-inline-details {
191
193
padding-top : 4px ;
192
- padding-bottom : 4px ;
193
194
}
194
195
195
196
.xr-section-inline-details {
@@ -199,6 +200,7 @@ body.vscode-dark {
199
200
.xr-section-details {
200
201
display : none;
201
202
grid-column : 1 / -1 ;
203
+ margin-top : 4px ;
202
204
margin-bottom : 5px ;
203
205
}
204
206
You can’t perform that action at this time.
0 commit comments