Skip to content

Commit fe5d08c

Browse files
committed
Small release fixes
1 parent 673deef commit fe5d08c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

apps/web/components/Panels/Dashboard/DashboardPanel.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
flex-flow: column;
44
}
55

6-
#panel-dashboard-stats {
6+
#panel-dashboard-connections {
77
display: grid;
88
grid-template-columns: repeat(2, 1fr);
99
grid-template-rows: repeat(2, 1fr);
@@ -69,6 +69,7 @@
6969

7070
#panel-dashboard-events {
7171
min-height: 0;
72+
flex-shrink: 1;
7273
}
7374

7475
.dashboard-event-item {

apps/web/components/Panels/Dashboard/DashboardPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function DashboardPanel() {
7474
<DashboardHistory history={data.history} />
7575
</div>
7676
</div>
77-
<div className="panel-container dashboard">
77+
<div className="panel-container dashboard" id="panel-dashboard-stats">
7878
<button
7979
className={`panel-container-header${openSection.includes("stats") ? " open" : ""}`}
8080
type="button"

apps/web/components/Panels/Dashboard/DashboardStats.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function DashboardStats({ stats }: { stats: Stats }) {
1010
return (
1111
<div className="panel-section-content">
1212
<div className="panel-data-separator">Connections</div>
13-
<div className="panel-sub-container" id="panel-dashboard-stats">
13+
<div className="panel-sub-container" id="panel-dashboard-connections">
1414
<div className="panel-data-item">
1515
<p>Total</p>
1616
<p>{stats.pilots + stats.controllers + stats.supervisors}</p>

apps/web/components/shared/Select/Select.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,16 @@ const containerStyles = (provided: CSSObjectWithLabel): CSSObjectWithLabel => ({
2525
minHeight: "32px",
2626
flexGrow: 1,
2727
boxSizing: "border-box",
28+
display: "flex",
29+
alignItems: "center",
30+
justifyContent: "space-between",
2831
});
2932

3033
const controlStyles = (provided: CSSObjectWithLabel): CSSObjectWithLabel => ({
3134
...provided,
3235
minHeight: "100%",
3336
padding: "4px",
37+
width: "100%",
3438
});
3539

3640
const menuStyles = (provided: CSSObjectWithLabel): CSSObjectWithLabel => ({

0 commit comments

Comments
 (0)