Skip to content

Commit 9929370

Browse files
authored
Merge pull request #233 from bcgov/AI-1479
AI-1479 Header Spacing Fix
2 parents 948e3da + 8727c0a commit 9929370

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

apps/frontend/src/App.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@
1111
.app-shell-bcds-header .bcds-header--container {
1212
display: flex;
1313
align-items: center;
14-
max-width: none;
1514
width: 100%;
1615
}
1716

17+
.app-shell-bcds-header .bcds-header .bcds-header--container {
18+
max-width: none;
19+
}
20+
1821
.app-shell-bcds-header .bcds-header--title {
1922
flex-grow: 0;
2023
margin-right: auto;
@@ -34,7 +37,7 @@
3437
/* Tight title/description pairing in standard page headers */
3538
.bcds-page-header__title-block .bcds-react-aria-Heading,
3639
.bcds-page-header__title-block .bcds-react-aria-Text {
37-
margin: 0 !important;
40+
margin: 0;
3841
}
3942

4043
.bcds-page-header__meta {

apps/frontend/src/ui/bcds-upload-panel.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
.bcds-upload-panel__intro .bcds-react-aria-Text {
21-
margin: 0 !important;
21+
margin: 0;
2222
}
2323

2424
.bcds-upload-panel__actions {

apps/frontend/vite.config.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ export default defineConfig({
106106
},
107107
},
108108
},
109+
preview: {
110+
port: 3000,
111+
host: true,
112+
proxy: {
113+
// All backend routes (including /api/auth/*) live under the /api prefix,
114+
// so a single rule suffices — no path rewrite needed.
115+
"/api": {
116+
target: "http://localhost:3002",
117+
changeOrigin: true,
118+
secure: false,
119+
},
120+
},
121+
},
109122
test: {
110123
globals: true,
111124
environment: "jsdom",

0 commit comments

Comments
 (0)