Skip to content

Commit 2af62de

Browse files
committed
Migrated to no-styles
1 parent 37f0634 commit 2af62de

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src-widgets/src/Generic.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ class Generic extends (window.visRxWidget || VisRxWidget) {
200200
}
201201
}
202202

203-
renderNextPrevButtons(maxIndex) {
204-
return <div style={styles.bottomPanel}>
203+
renderNextPrevButtons(maxIndex, stylesBottomPanel) {
204+
return <div style={stylesBottomPanel}>
205205
<IconButton
206206
size="large"
207207
onClick={() => {

src-widgets/src/Instrument.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class Instrument extends Generic {
383383
</div>)}
384384
</div>
385385
</div>
386-
{items.length > 1 ? this.renderNextPrevButtons(items.length) : null}
386+
{items.length > 1 ? this.renderNextPrevButtons(items.length, styles.bottomPanel) : null}
387387
</div>;
388388

389389
return this.wrapContent(content);

src-widgets/src/Nmea.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ class Nmea extends Generic {
751751
>
752752
{this.renderIndicatorsBlock(items, 'right')}
753753
</div>
754-
{windows.length > 1 ? this.renderNextPrevButtons(windows.length) : null}
754+
{windows.length > 1 ? this.renderNextPrevButtons(windows.length, styles.bottomPanel) : null}
755755
</div>;
756756

757757
return this.wrapContent(content);

0 commit comments

Comments
 (0)