Commit 3d82f75
authored
feat: core-styles v2 header (#1068)
* fix: header elements use mr- (me-) not ml- (ms-)
CMS uses `margin-right: auto`, not `margin-left: auto`.
Bootstrap5 uses `me` for "margin end" (and `ms` for "margin start").
I.e. Bootstrap adopted CSS's new language:
- `margin-inline-end`
- `margin-inline-start`
* fix: portal does not know design-tokens
* feat: upgrade header css to core-styles v2
* chore: remove old header cruft
* fix: load header css after bootstrap
* chore: update core-styles to latest
* fix: core-styles-v2.header.css loads too late
So we serve it as a static file.
* chore: remove cruft from old solution
* fix: no need to serve special static file
Warning: Introduces padding difference between CMS and Portal header.
* fix: move core-styles bump to correct file
* deps: core-styles, core-cms
* fix: portal nav position is wrong
* fix: same font for header in portal and cms
* deps: core-styles
* fix: portal nav alignment broken on cms cuz bs4
Portal nav alignemnt changes on CMS, because CMS uses Bootstrap 4.
This release accomodates Bootstrap 5 for dropdown menu alignment.1 parent c210828 commit 3d82f75
8 files changed
Lines changed: 13 additions & 19 deletions
File tree
- client
- src/styles
- components
- settings
- trumps
- server
- conf/docker
- portal/templates
- includes
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments