diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 52534ece..85f67cbd 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -5,7 +5,7 @@ on: jobs: labeler: - if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk' + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk' && github.event.pull_request.user.login != 'dependabot[bot]' permissions: contents: read pull-requests: write @@ -14,7 +14,7 @@ jobs: - uses: actions/labeler@v5 comment_pr: - if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk' + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk' && github.event.pull_request.user.login != 'dependabot[bot]' permissions: contents: read pull-requests: write @@ -25,7 +25,7 @@ jobs: uses: thollander/actions-comment-pull-request@v3 with: message: | - Hey @${{ github.event.pull_request.assignee.login }}, good job getting this PR merged! :tada: + Hey @${{ github.event.pull_request.user.login }}, good job getting this PR merged! :tada: Now, the `needs-changelog` label has been added to it. diff --git a/includes/class-newspack-popups.php b/includes/class-newspack-popups.php index 4a574b59..196842be 100644 --- a/includes/class-newspack-popups.php +++ b/includes/class-newspack-popups.php @@ -161,6 +161,7 @@ public static function register_cpt() { $cpt_args = [ 'labels' => $labels, 'public' => false, + 'show_in_menu' => false, 'show_ui' => true, 'show_in_rest' => true, 'supports' => [ 'editor', 'title', 'custom-fields', 'thumbnail', 'revisions' ], diff --git a/package-lock.json b/package-lock.json index 333e68f9..9fc21b6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,11 +12,11 @@ "intersection-observer": "^0.12.2", "js-cookie": "^3.0.5", "newspack-components": "^3.1.0", - "qs": "^6.13.0" + "qs": "^6.13.1" }, "devDependencies": { "@rushstack/eslint-patch": "^1.10.4", - "@wordpress/browserslist-config": "^6.11.0", + "@wordpress/browserslist-config": "^6.12.0", "eslint": "^8.57.0", "lint-staged": "^15.2.10", "newspack-scripts": "^5.5.2", @@ -6712,9 +6712,9 @@ } }, "node_modules/@wordpress/browserslist-config": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.11.0.tgz", - "integrity": "sha512-wUDbJ3x7c8iMZLtwo+7VlWZ/vDc47PDW2eSAKW18RrQBSTdaNmWi4qiyFYi7Ye2XkyfUd2gp71MTJjZi6n/V2A==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.12.0.tgz", + "integrity": "sha512-rFsMgWpJSu6I4rgqIGr/+ofVC4hsGIpJCXorNpRX8Zdo6wZvo/jHCZfOHq1RQ0dw9kNM2Q5UE5Sve1XpsDWPXA==", "dev": true, "engines": { "node": ">=18.12.0", @@ -23782,9 +23782,9 @@ } }, "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", + "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", "dependencies": { "side-channel": "^1.0.6" }, diff --git a/package.json b/package.json index 49700492..d4673ff5 100644 --- a/package.json +++ b/package.json @@ -35,11 +35,11 @@ "intersection-observer": "^0.12.2", "js-cookie": "^3.0.5", "newspack-components": "^3.1.0", - "qs": "^6.13.0" + "qs": "^6.13.1" }, "devDependencies": { "@rushstack/eslint-patch": "^1.10.4", - "@wordpress/browserslist-config": "^6.11.0", + "@wordpress/browserslist-config": "^6.12.0", "eslint": "^8.57.0", "lint-staged": "^15.2.10", "newspack-scripts": "^5.5.2", diff --git a/src/view/style.scss b/src/view/style.scss index f0484c99..d866db00 100644 --- a/src/view/style.scss +++ b/src/view/style.scss @@ -71,7 +71,7 @@ $width__tablet: 782px; background: white; border: none; box-shadow: 0 0 1em 0.5em rgba(black, 0.1); - overflow-x: hidden; + overflow: hidden; position: relative; transform: none; transition: transform 0.2s ease-in-out; @@ -267,7 +267,6 @@ $width__tablet: 782px; &.newspack-lightbox-placement-top_right { .newspack-popup-wrapper { max-height: calc(100% - #{$overlay__gap}); - overflow-y: auto; } } @@ -275,7 +274,6 @@ $width__tablet: 782px; &.newspack-lightbox-placement-top { .newspack-popup-wrapper { max-height: 100%; - overflow-y: auto; } }