From 8fb57c2a9d61ee4e211bdb15f5d42d768ac73158 Mon Sep 17 00:00:00 2001 From: Bryan Jonker Date: Tue, 8 Oct 2024 07:52:24 -0500 Subject: [PATCH 1/3] Bug fixes to prevent scrolling --- README.md | 4 ++-- builder/versions/ilw-page.1.0-beta.json | 6 +++--- package.json | 2 +- src/ilw-page.css | 2 ++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6603db7..0e8ecfb 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ Classes include * ilw-font - boolean, if the page uses the Illinois default fonts * ilw-illinois - boolean, if the page uses the Illinois default fonts and colors. - * ilw-margin - boolean, if the page uses the Illinois default fonts and colors. + * ilw-margin - boolean, if the page uses the Illinois default margins. Note that this will prevent horizontal scrolling on the page. -This will change: +`ilw-font` and `ilw-illinois` will change: * Headings * Lists diff --git a/builder/versions/ilw-page.1.0-beta.json b/builder/versions/ilw-page.1.0-beta.json index 92f15a2..bb02ae6 100644 --- a/builder/versions/ilw-page.1.0-beta.json +++ b/builder/versions/ilw-page.1.0-beta.json @@ -6,10 +6,10 @@ "element-name": "ilw-page", "description": "The Page component, containing styles and margins for other components.", "builder-version": "1.0-beta", - "version": "1.0.0-beta", + "version": "1.0.1-beta", "date": "7/3/2024", - "css": "https://dev.toolkit.illinois.edu/ilw-page/1.0.0-beta/ilw-page.css", - "js": "https://dev.toolkit.illinois.edu/ilw-page/1.0.0-beta/ilw-page.js", + "css": "https://dev.toolkit.illinois.edu/ilw-page/1.0.1-beta/ilw-page.css", + "js": "https://dev.toolkit.illinois.edu/ilw-page/1.0.1-beta/ilw-page.js", "production": false, "notes": "", "parent-style": "", diff --git a/package.json b/package.json index 760f5c5..ae02076 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "repository": "github:web-illinois/ilw-page", "private": false, "license": "MIT", - "version": "1.0.0-beta", + "version": "1.0.1-beta", "type": "module", "files": [ "src/**", diff --git a/src/ilw-page.css b/src/ilw-page.css index 8793703..b46ba81 100644 --- a/src/ilw-page.css +++ b/src/ilw-page.css @@ -7,6 +7,8 @@ ilw-page.ilw-margin { --ilw-page--margin: var(--ilw-margin--side, max(1.875rem, calc(50cqw - 37.5rem))); + display: block; + overflow-y: hidden; } ilw-page.ilw-font h1 { From 402476716ea66859d5fdede70f40e8320f010553 Mon Sep 17 00:00:00 2001 From: Bryan Jonker Date: Tue, 8 Oct 2024 07:54:52 -0500 Subject: [PATCH 2/3] Fix font size for ilw-format --- src/ilw-page.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ilw-page.css b/src/ilw-page.css index b46ba81..a721b62 100644 --- a/src/ilw-page.css +++ b/src/ilw-page.css @@ -62,8 +62,8 @@ ilw-page.ilw-font summary, ilw-page.ilw-font caption, ilw-page.ilw-font blockquo margin-bottom: 0; } ilw-page.ilw-format main h1 { - font-size: 4.25rem; - line-height: 5.25rem; + font-size: 3.25rem; + line-height: 4rem; margin-top: 1.3125rem; margin-bottom: 2.625rem; font-family: var(--il-font-heading); From 9a2582042e06fff9563066a27209dca13260db46 Mon Sep 17 00:00:00 2001 From: Bryan Jonker <65776851+bryanjonker-illinois@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:58:08 -0500 Subject: [PATCH 3/3] Update ilw-page.1.0-beta.json --- builder/versions/ilw-page.1.0-beta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/versions/ilw-page.1.0-beta.json b/builder/versions/ilw-page.1.0-beta.json index bb02ae6..eead36c 100644 --- a/builder/versions/ilw-page.1.0-beta.json +++ b/builder/versions/ilw-page.1.0-beta.json @@ -7,7 +7,7 @@ "description": "The Page component, containing styles and margins for other components.", "builder-version": "1.0-beta", "version": "1.0.1-beta", - "date": "7/3/2024", + "date": "10/08/2024", "css": "https://dev.toolkit.illinois.edu/ilw-page/1.0.1-beta/ilw-page.css", "js": "https://dev.toolkit.illinois.edu/ilw-page/1.0.1-beta/ilw-page.js", "production": false,