Fix docs categories scroll

This commit is contained in:
Jeremy Thomas 2022-01-04 13:01:43 +01:00
parent 4728e1b06d
commit 6e47cdb9ed
8 changed files with 10622 additions and 6027 deletions

View File

@ -30,8 +30,11 @@
} }
.bd-categories { .bd-categories {
@include overflow-touch;
--height: 1.25; --height: 1.25;
max-height: 100vh;
overflow-y: auto;
padding: var(--docs-side-padding); padding: var(--docs-side-padding);
position: sticky; position: sticky;
top: 0; top: 0;

View File

@ -10060,9 +10060,11 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i
box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2); box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2);
} }
.pagination-previous[disabled], .pagination-previous[disabled], .pagination-previous.is-disabled,
.pagination-next[disabled], .pagination-next[disabled],
.pagination-link[disabled] { .pagination-next.is-disabled,
.pagination-link[disabled],
.pagination-link.is-disabled {
background-color: #dbdbdb; background-color: #dbdbdb;
border-color: #dbdbdb; border-color: #dbdbdb;
box-shadow: none; box-shadow: none;
@ -17598,7 +17600,10 @@ a.has-text-bootstrap-dark:hover, a.has-text-bootstrap-dark:focus {
} }
.bd-categories { .bd-categories {
-webkit-overflow-scrolling: touch;
--height: 1.25; --height: 1.25;
max-height: 100vh;
overflow-y: auto;
padding: var(--docs-side-padding); padding: var(--docs-side-padding);
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;

File diff suppressed because one or more lines are too long

7618
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,15 +5,15 @@
"author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)", "author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"autoprefixer": "^9.7.6", "autoprefixer": "^10.4.1",
"babel-cli": "^6.26.0", "babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0", "babel-preset-env": "^1.7.0",
"babel-preset-es2015-ie": "^6.7.0", "babel-preset-es2015-ie": "^6.7.0",
"clean-css-cli": "^4.3.0", "clean-css-cli": "^5.5.0",
"metalsmith": "^2.3.0", "metalsmith": "^2.3.0",
"metalsmith-filter": "^1.0.2", "metalsmith-filter": "^1.0.2",
"node-sass": "^4.13.1", "node-sass": "^7.0.1",
"postcss-cli": "^7.1.0" "postcss-cli": "^9.1.0"
}, },
"scripts": { "scripts": {
"css-build": "npm run css-sass && npm run css-autoprefix && npm run css-cleancss", "css-build": "npm run css-sass && npm run css-autoprefix && npm run css-cleancss",

5616
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -27,10 +27,10 @@
"url": "https://github.com/jgthms/bulma/issues" "url": "https://github.com/jgthms/bulma/issues"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^9.8.6", "autoprefixer": "^10.4.1",
"clean-css-cli": "^4.3.0", "clean-css-cli": "^5.5.0",
"node-sass": "^4.14.1", "node-sass": "^7.0.1",
"postcss-cli": "^7.1.2", "postcss-cli": "^9.1.0",
"rimraf": "^3.0.2" "rimraf": "^3.0.2"
}, },
"scripts": { "scripts": {

3385
yarn.lock

File diff suppressed because it is too large Load Diff