From f0c460d5e0853ae22c1198998a5d0e67505d0716 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 7 Jan 2022 22:35:08 -0700 Subject: [PATCH] Fix: Improve mobile layout (#197) --- .changeset/happy-pots-jump.md | 6 + .github/dependabot.yml | 9 +- .stylelintrc.js | 2 +- assets/css/main.css | 5 - components/AppFooter.vue | 7 +- components/AppMasthead.vue | 3 +- components/BaseButton.vue | 2 +- components/BaseInput.vue | 6 +- components/ColorField.vue | 1 - components/ColorMode.vue | 4 +- components/Gradient.vue | 17 +- components/OptionControls.vue | 4 +- components/OptionGroup.vue | 2 +- layouts/default.vue | 9 +- nuxt.config.js | 18 +- package-lock.json | 25163 +++++++++++++++++++++++++++++++- package.json | 5 +- pages/_.vue | 2 +- pages/index.vue | 16 +- 19 files changed, 25176 insertions(+), 105 deletions(-) create mode 100644 .changeset/happy-pots-jump.md diff --git a/.changeset/happy-pots-jump.md b/.changeset/happy-pots-jump.md new file mode 100644 index 0000000..7f65012 --- /dev/null +++ b/.changeset/happy-pots-jump.md @@ -0,0 +1,6 @@ +--- +'polychroma': patch +--- + +Fix mobile layout +Layout on tablets no longer completely broken. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 02ad719..c670fc0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,11 @@ updates: interval: monthly commit-message: prefix: 'Upgrade: ' - labels: - - upgrade versioning-strategy: increase-if-necessary + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + commit-message: + prefix: 'Chore: ' diff --git a/.stylelintrc.js b/.stylelintrc.js index c0196d5..3b16d02 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -5,6 +5,6 @@ module.exports = { true, { ignoreAtRules: ['include', 'mixin', 'screen', 'apply'] }, ], - 'value-list-comma-newline-after': 'never-multi-line', + 'value-list-comma-newline-after': null, }, } diff --git a/assets/css/main.css b/assets/css/main.css index 5bf44a0..4d86067 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -26,13 +26,8 @@ --blue-7: #1c7ed6; } -body { - overscroll-behavior: none; -} - code, .code { - /* stylelint-disable-next-line value-list-comma-newline-after */ font-family: 'SF Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; } diff --git a/components/AppFooter.vue b/components/AppFooter.vue index eab764b..418709d 100644 --- a/components/AppFooter.vue +++ b/components/AppFooter.vue @@ -1,10 +1,10 @@