Skip to content

Commit d417cb0

Browse files
committed
Make the new widget smaller so there is more space for plot titles
1 parent 50cdc23 commit d417cb0

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

src/Legend.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ export function Legend({
136136
)}
137137
</div>
138138
<div className="actions">
139-
<label className="interpolate">
140-
<span>Number of Datapoints</span>
139+
<label className="datapoints">
140+
<span>Datapoints</span>
141141
<Select
142142
className="singleselect datapointscount"
143143
classNamePrefix="select"

src/index.scss

+14
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,16 @@ body {
223223
}
224224
}
225225

226+
.datapoints {
227+
display: flex;
228+
align-items: center;
229+
230+
span {
231+
margin-right: 10px;
232+
font-size: 14px;
233+
}
234+
}
235+
226236
.pause-button {
227237
width: 75px;
228238
text-align: center;
@@ -339,6 +349,10 @@ body {
339349
}
340350
}
341351

352+
.datapointscount{
353+
min-width:50px;
354+
}
355+
342356

343357
input:focus,
344358
select:focus,

0 commit comments

Comments
 (0)