Skip to content

Commit cded4b8

Browse files
committed
feat: update Node version to 22 in build workflow and refactor DeviceList styles
1 parent bea2535 commit cded4b8

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
steps:
2929
- name: Checkout Repo
3030
uses: actions/checkout@v4
31-
- name: Use Node 20
31+
- name: Use Node 22
3232
uses: actions/setup-node@v4
3333
with:
3434
cache: npm
35-
node-version: '20'
35+
node-version: '22'
3636
registry-url: 'https://npm.pkg.github.com'
3737
- name: Set package.json version
3838
run: |

src/features/deviceList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const DeviceList = () => {
1515

1616
return (
1717
<div className="h-100 overflow-hidden d-flex gap-3">
18-
<div className="h-100 overflow-hidden d-flex flex-column" style={{ minWidth: 0, flex: "0 0 33%" }}>
18+
<div className="h-100 overflow-hidden d-flex flex-column flex-basis-33">
1919
<div className="h-100 overflow-auto">
2020
<h2>Devices</h2>
2121
<table className="table table-sm table-striped table-hover">

src/styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@ a:hover {
359359
color: $white !important;
360360
}
361361

362+
.flex-basis-33 {
363+
flex: 0 0 33%;
364+
min-width: 0;
365+
}
366+
362367
.list-selected-primary {
363368
background-color: $primary !important;
364369
color: $white !important;

0 commit comments

Comments
 (0)