From f6a2d1bdd68b031a70729e46a2179d8a4f27d19d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 31 Mar 2025 12:48:53 +0300 Subject: [PATCH] manual lint --fix --- .../announcement_editor/announcement_editor.vue | 2 +- src/components/component_preview/component_preview.vue | 2 +- src/components/dialog_modal/dialog_modal.vue | 1 - src/components/flash/flash.vue | 2 +- src/components/gallery/gallery.vue | 6 ++++++ src/components/link-preview/link-preview.vue | 8 +++++--- src/components/user_profile/user_profile.vue | 4 ++-- 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/components/announcement_editor/announcement_editor.vue b/src/components/announcement_editor/announcement_editor.vue index 31473331f..f1b016183 100644 --- a/src/components/announcement_editor/announcement_editor.vue +++ b/src/components/announcement_editor/announcement_editor.vue @@ -56,7 +56,7 @@ .post-textarea { resize: vertical; height: 10em; - overflow: none; + overflow: visible; box-sizing: content-box; } } diff --git a/src/components/component_preview/component_preview.vue b/src/components/component_preview/component_preview.vue index 48d5b53a4..6a77d6c5d 100644 --- a/src/components/component_preview/component_preview.vue +++ b/src/components/component_preview/component_preview.vue @@ -209,7 +209,7 @@ export default { .assists { grid-area: assists; display: grid; - grid-auto-flow: rows; + grid-auto-flow: row; grid-auto-rows: 2em; grid-gap: 0.5em; } diff --git a/src/components/dialog_modal/dialog_modal.vue b/src/components/dialog_modal/dialog_modal.vue index 8d4148dfe..939655f65 100644 --- a/src/components/dialog_modal/dialog_modal.vue +++ b/src/components/dialog_modal/dialog_modal.vue @@ -106,7 +106,6 @@ flex-direction: column; justify-content: flex-end; grid-template-columns: 1fr; - grid-auto-columns: none; grid-auto-rows: auto; grid-auto-flow: row dense; diff --git a/src/components/flash/flash.vue b/src/components/flash/flash.vue index c9fc730be..3196e9bc4 100644 --- a/src/components/flash/flash.vue +++ b/src/components/flash/flash.vue @@ -77,7 +77,7 @@ .hidden { display: none; - visibility: "hidden"; + visibility: hidden; } } diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index 9ffbf41a0..6043e64e9 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -157,7 +157,13 @@ linear-gradient(to top, white, white); /* Autoprefixed seem to ignore this one, and also syntax is different */ + /* stylelint-disable mask-composite */ + /* stylelint-disable declaration-property-value-no-unknown */ + + /* TODO check if this is still needed */ mask-composite: xor; + /* stylelint-enable declaration-property-value-no-unknown */ + /* stylelint-enable mask-composite */ mask-composite: exclude; } } diff --git a/src/components/link-preview/link-preview.vue b/src/components/link-preview/link-preview.vue index 8eb5a5010..5ef63a51e 100644 --- a/src/components/link-preview/link-preview.vue +++ b/src/components/link-preview/link-preview.vue @@ -68,10 +68,12 @@ margin: 0.5em 0 0; overflow: hidden; text-overflow: ellipsis; - word-break: break-word; + word-break: break-all; line-height: 1.2em; - // cap description at 3 lines, the 1px is to clean up some stray pixels - // TODO: fancier fade-out at the bottom to show off that it's too long? + + /* cap description at 3 lines, the 1px is to clean up some stray pixels + TODO: fancier fade-out at the bottom to show off that it's too long? + */ max-height: calc(1.2em * 3 - 1px); } diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 103074a23..4bb3f5214 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -223,7 +223,7 @@ .userlist-placeholder { display: flex; justify-content: center; - align-items: middle; + align-items: center; padding: 2em; } } @@ -232,7 +232,7 @@ .panel-body { display: flex; justify-content: center; - align-items: middle; + align-items: center; padding: 7em; } }