Skip to content

Commit 6752423

Browse files
Merge pull request #49 from QuantStack/update-lego-move-hub-panel
Update Move Hub panel.
2 parents ea5fff9 + 57e3bf9 commit 6752423

5 files changed

Lines changed: 45 additions & 213 deletions

File tree

src/bluetooth/BluetoothManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { IDisposable } from '@lumino/disposable';
66
import { Dialog, showDialog } from '@jupyterlab/apputils';
77

88
/**
9-
* A class used to update the list of connected device and the related signals used to rerender the connected devices section.
9+
* A class used to update the list of connected devices and the related signals used to rerender the connected devices section.
1010
*/
1111
export class BluetoothManager implements IBluetoothManager {
1212
constructor() {

src/movehub-extension/components/Vernie.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function Vernie({ themeManager }: IBuildProps) {
1616
<img
1717
src={currentSVGUrl}
1818
alt="Vernie build represented with LeoCAD"
19-
height="300px"
19+
height="280px"
2020
/>
2121
)}
2222
</UseSignal>
@@ -26,7 +26,7 @@ export default function Vernie({ themeManager }: IBuildProps) {
2626
<img
2727
src={VernieLightSVGUrl}
2828
alt="Vernie build represented with LeoCAD"
29-
height="300px"
29+
height="280px"
3030
/>
3131
);
3232
}

style/VernieSchematicDark.svg

Lines changed: 17 additions & 105 deletions
Loading

style/VernieSchematicLight.svg

Lines changed: 16 additions & 104 deletions
Loading

style/base.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
width: 100%;
1111
box-sizing: border-box;
1212
background-color: var(--jp-layout-color0);
13+
max-width: 1200px;
14+
margin: 0 auto;
1315
}
1416

1517
.vernie-control-grid-container {
@@ -75,12 +77,13 @@
7577

7678
.move-input-field {
7779
height: 24px;
78-
padding: 0;
80+
padding: 0 4px;
7981
border-width: 0.5px;
8082
border-radius: 4px;
8183
width: 30px;
8284
font-size: 10px;
8385
background-color: var(--jp-layout-color2);
86+
text-align: right;
8487
}
8588

8689
.move-input-field-with-2buttons {
@@ -214,6 +217,11 @@
214217
grid-template-columns: repeat(2, 1fr);
215218
grid-template-rows: repeat(2, auto);
216219
}
220+
221+
.vernie-control-grid-item-right {
222+
justify-content: center;
223+
grid-column: 1 / -1;
224+
}
217225
}
218226

219227
.manual-control-grid {

0 commit comments

Comments
 (0)