From 5033b024f62a2edc443d9dd5d6e74d00ed3182a9 Mon Sep 17 00:00:00 2001 From: djvs Date: Tue, 20 Jun 2023 14:46:16 -0400 Subject: [PATCH] component classes v2 --- src/assets/css/main.css | 2 +- src/shared/components/app/error-page.tsx | 2 +- src/shared/components/app/footer.tsx | 2 +- src/shared/components/comment/comment-form.tsx | 6 +++++- src/shared/components/comment/comment-report.tsx | 2 +- src/shared/components/common/badges.tsx | 2 +- src/shared/components/common/banner-icon-header.tsx | 2 +- .../components/common/comment-sort-select.tsx | 4 ++-- src/shared/components/common/data-type-select.tsx | 2 +- src/shared/components/common/emoji-picker.tsx | 2 +- src/shared/components/common/icon.tsx | 2 +- src/shared/components/common/image-upload-form.tsx | 2 +- src/shared/components/common/language-select.tsx | 2 +- .../components/common/listing-type-select.tsx | 2 +- src/shared/components/common/markdown-textarea.tsx | 6 +++++- src/shared/components/common/moment-time.tsx | 4 ++-- src/shared/components/common/paginator.tsx | 2 +- src/shared/components/common/pictrs-image.tsx | 2 +- .../components/common/registration-application.tsx | 2 +- src/shared/components/common/searchable-select.tsx | 2 +- src/shared/components/common/sort-select.tsx | 4 ++-- src/shared/components/community/communities.tsx | 2 +- src/shared/components/community/community-form.tsx | 5 ++++- src/shared/components/community/community-link.tsx | 4 ++-- src/shared/components/community/community.tsx | 4 +++- .../components/community/create-community.tsx | 2 +- src/shared/components/community/sidebar.tsx | 2 +- src/shared/components/home/admin-settings.tsx | 2 +- src/shared/components/home/emojis-form.tsx | 2 +- src/shared/components/home/home.tsx | 2 +- src/shared/components/home/instances.tsx | 2 +- src/shared/components/home/legal.tsx | 2 +- src/shared/components/home/login.tsx | 2 +- src/shared/components/home/rate-limit-form.tsx | 5 ++++- src/shared/components/home/setup.tsx | 2 +- src/shared/components/home/signup.tsx | 2 +- src/shared/components/home/site-form.tsx | 5 ++++- src/shared/components/home/site-sidebar.tsx | 2 +- src/shared/components/home/tagline-form.tsx | 2 +- src/shared/components/modlog.tsx | 2 +- src/shared/components/person/cake-day.tsx | 2 +- src/shared/components/person/inbox.tsx | 2 +- src/shared/components/person/password-change.tsx | 2 +- src/shared/components/person/person-details.tsx | 2 +- src/shared/components/person/person-listing.tsx | 13 ++++++++----- src/shared/components/person/profile.tsx | 6 +++++- .../components/person/registration-applications.tsx | 6 +++++- src/shared/components/person/reports.tsx | 2 +- src/shared/components/person/settings.tsx | 2 +- src/shared/components/person/verify-email.tsx | 2 +- src/shared/components/post/create-post.tsx | 2 +- src/shared/components/post/metadata-card.tsx | 7 +++++-- src/shared/components/post/post-form.tsx | 5 ++++- src/shared/components/post/post-listings.tsx | 2 +- src/shared/components/post/post-report.tsx | 2 +- src/shared/components/post/post.tsx | 2 +- .../private_message/create-private-message.tsx | 2 +- .../private_message/private-message-form.tsx | 5 ++++- .../private_message/private-message-report.tsx | 2 +- .../components/private_message/private-message.tsx | 2 +- src/shared/components/search.tsx | 2 +- 61 files changed, 109 insertions(+), 70 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index f6ae1ad..1876b01 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -415,7 +415,7 @@ br.big { -webkit-box-orient: vertical; } -.emoji-picker { +#emoji-picker { width: 100%; } diff --git a/src/shared/components/app/error-page.tsx b/src/shared/components/app/error-page.tsx index e19323f..191c322 100644 --- a/src/shared/components/app/error-page.tsx +++ b/src/shared/components/app/error-page.tsx @@ -16,7 +16,7 @@ export class ErrorPage extends Component { const { errorPageData } = this.isoData; return ( -
+

{errorPageData ? i18n.t("error_page_title") diff --git a/src/shared/components/app/footer.tsx b/src/shared/components/app/footer.tsx index cf3c4de..8ea647c 100644 --- a/src/shared/components/app/footer.tsx +++ b/src/shared/components/app/footer.tsx @@ -16,7 +16,7 @@ export class Footer extends Component { render() { return ( -