Skip to content

Commit

Permalink
package.json: Update to PatternFly 5 final
Browse files Browse the repository at this point in the history
This requires a CSS tweak for the "change-repo" button, to stay
vertically centered in the toolbar.
  • Loading branch information
martinpitt committed Aug 4, 2023
1 parent 6e5c654 commit 1764c7a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COCKPIT_REPO_FILES = \
$(NULL)

COCKPIT_REPO_URL = https://github.com/cockpit-project/cockpit.git
COCKPIT_REPO_COMMIT = d7126448b1e74e59f75157389225289dc34c3fd5 # 297 + 19 commits
COCKPIT_REPO_COMMIT = fabdc84bd6bb06454f7b472b523cea06d806cefc # 297 + PF5 final adjustments

$(COCKPIT_REPO_FILES): $(COCKPIT_REPO_STAMP)
COCKPIT_REPO_TREE = '$(strip $(COCKPIT_REPO_COMMIT))^{tree}'
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"stylelint-formatter-pretty": "^3.2.0"
},
"dependencies": {
"@patternfly/patternfly": "5.0.0-prerelease.8",
"@patternfly/react-core": "5.0.0-alpha.132",
"@patternfly/react-icons": "5.0.0-alpha.21",
"@patternfly/react-styles": "5.0.0-alpha.19",
"@patternfly/react-table": "5.0.0-alpha.136",
"@patternfly/react-tokens": "5.0.0-alpha.16",
"@patternfly/patternfly": "5.0.2",
"@patternfly/react-core": "5.0.0",
"@patternfly/react-icons": "5.0.0",
"@patternfly/react-styles": "5.0.0",
"@patternfly/react-table": "5.0.0",
"@patternfly/react-tokens": "5.0.0",
"date-fns": "2.30.0",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
6 changes: 6 additions & 0 deletions src/ostree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@
.pf-v5-c-form.pf-m-horizontal {
width: 100%;
}

// properly align the "change-repo" inline button with the other toolbar items
// it defaults to --pf-v5-c-button--m-inline--PaddingTop, which is 0
.pf-v5-c-button.pf-m-link.pf-m-inline {
padding-top: var(--pf-v5-c-button--PaddingTop);
}

0 comments on commit 1764c7a

Please sign in to comment.