From d03bfe2ab8f7c60ac289f02bab92e81cb004ddf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=CC=88=20Bijl?= Date: Tue, 21 Oct 2025 00:31:41 +0200 Subject: [PATCH] [bugfix] further CSS fixes for Phosphor update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 242cfc4b060a53536fc2f86d35ccecf0c9ba68d2 Author: Zoë Bijl Date: Tue Oct 21 00:22:46 2025 +0200 [bugfix] tweak display name alignment commit 23e5d9840f6c560b28882aa9520cfc547c52ad63 Author: Zoë Bijl Date: Tue Oct 21 00:00:59 2025 +0200 [bugfix] improve display name alignment commit 1664835c94e47120fcd6716ab445b4aa5a00eed8 Author: Zoë Bijl Date: Mon Oct 20 17:03:52 2025 +0200 [feature] add text-decoration to usernames and hashtags commit d4fdb18549462b2a7aa4d270954b0e3b42817c7e Author: Zoë Bijl Date: Mon Oct 20 16:38:08 2025 +0200 [bugfix] correct spacing in status__content__spoiler commit c19307a11565e12d87bfeb3fe31db04c6fed7d15 Author: Zoë Bijl Date: Mon Oct 20 16:28:30 2025 +0200 [feature] remove giant logo in multi-column view commit 51e2c6e1c31914e02d7e40691de6df4de967a585 Author: Zoë Bijl Date: Mon Oct 20 16:24:52 2025 +0200 [feature] add gts logo in the multi-column menu commit edc83b0f545ec5e004a522299ca8106ad450798e Author: Zoë Bijl Date: Mon Oct 20 16:23:26 2025 +0200 [bugfix] fix width of fullwidth media gallery commit 9923c1b6da4aa886176fe7a800aceddc0eedc551 Author: Zoë Bijl Date: Mon Oct 20 15:17:25 2025 +0200 [chore] remove `fixedWith` from icons commit 935d6b73ef57a6b9ab2940ab9d1ed8c91deb332a Author: Zoë Bijl Date: Mon Oct 20 15:09:43 2025 +0200 [chore] lint commit 776f02bd5f44d1e8dbde4738721f7d01e9b977d9 Author: Zoë Bijl Date: Mon Oct 20 15:07:52 2025 +0200 [bugfix] correctly align multiline column-header button commit d988d3567107da911ae1ea80b295d132ec68194b Author: Zoë Bijl Date: Mon Oct 20 15:04:35 2025 +0200 [feat] add new size variables commit 34bcbb669d0a4372db02efc66814c961e3ee2f33 Author: Zoë Bijl Date: Sun Oct 19 23:47:20 2025 +0200 [bugfix] re-enable hicolor privacy icons commit 97f2cb8f69575ba11a5690df1580588937da26df Author: Zoë Bijl Date: Sun Oct 19 23:26:16 2025 +0200 [bugfix] correctly align “toot” buttons commit 52bcd4b6d08ec54e243d156500d779b475c174c7 Author: Zoë Bijl Date: Thu Oct 16 16:22:44 2025 +0200 [bugfix] replace `--size` with global `--size-icon` BREAKING CHANGE: any user styles that overwrote `--size` in a `,gts-icon` class will need to be updated. commit 9812a2611f33bda1eaf57d0fdce9246dc39175c4 Author: Zoë Bijl Date: Thu Oct 16 15:53:37 2025 +0200 [bugfix] further tweaks to `.poll__footer` alignment commit 798d6fbf7942dce14df067b3bd2d6d25821498be Author: Zoë Bijl Date: Thu Oct 16 15:38:45 2025 +0200 [bugfix] correctly align .poll__footer --- .../glitch/components/column_back_button.jsx | 2 +- .../components/column_back_button_slim.jsx | 2 +- .../glitch/components/column_header.jsx | 4 +- .../flavours/glitch/components/icon.tsx | 9 +--- .../glitch/components/icon_with_badge.tsx | 8 ++-- .../glitch/components/status_content.jsx | 1 - .../glitch/components/status_icons.jsx | 3 -- .../components/status_visibility_icon.jsx | 1 - .../flavours/glitch/features/about/index.jsx | 2 +- .../account/components/action_bar.jsx | 4 +- .../components/follow_request_note.jsx | 4 +- .../components/moved_note.jsx | 2 +- .../flavours/glitch/features/audio/index.jsx | 8 ++-- .../compose/components/dropdown_menu.jsx | 2 +- .../components/emoji_picker_dropdown.jsx | 1 - .../features/compose/components/header.jsx | 2 +- .../features/compose/components/publisher.jsx | 37 +++++++-------- .../compose/components/search_results.jsx | 8 ++-- .../compose/components/textarea_icons.jsx | 1 - .../glitch/features/explore/results.jsx | 6 +-- .../glitch/features/filters/select_filter.jsx | 2 +- .../features/list_adder/components/list.jsx | 2 +- .../local_settings/navigation/item/index.jsx | 2 +- .../notifications/components/admin_report.jsx | 2 +- .../notifications/components/admin_signup.jsx | 2 +- .../notifications/components/filter_bar.jsx | 12 ++--- .../notifications/components/follow.jsx | 2 +- .../components/follow_request.jsx | 2 +- .../features/ui/components/column_header.jsx | 2 +- .../features/ui/components/column_link.jsx | 2 +- .../features/ui/components/media_modal.jsx | 4 +- .../flavours/glitch/features/video/index.jsx | 12 ++--- .../flavours/glitch/styles/_mixins.scss | 6 +-- .../flavours/glitch/styles/accessibility.scss | 14 +++--- .../glitch/styles/components/accounts.scss | 19 +++----- .../glitch/styles/components/columns.scss | 21 ++++----- .../styles/components/compose_form.scss | 35 +++++++-------- .../glitch/styles/components/drawer.scss | 10 ++--- .../glitch/styles/components/emoji.scss | 4 +- .../glitch/styles/components/media.scss | 12 +++-- .../glitch/styles/components/misc.scss | 4 +- .../glitch/styles/components/modal.scss | 6 +-- .../glitch/styles/components/search.scss | 12 +++-- .../glitch/styles/components/status.scss | 31 +++---------- .../flavours/glitch/styles/gts.scss | 45 ++++++++++--------- .../flavours/glitch/styles/gts/colors.scss | 1 + .../flavours/glitch/styles/gts/sizes.scss | 10 +++++ .../flavours/glitch/styles/gts/status.scss | 18 ++++++++ .../styles/gts/status/status-account.scss | 2 +- .../gts/status/status-display-name.scss | 8 +++- .../styles/gts/status/status-icons.scss | 6 +-- .../glitch/styles/gts/status/status-info.scss | 2 +- .../styles/gts/status/status-prepend.scss | 6 +-- .../styles/gts/status/status-spoiler.scss | 14 +++--- .../glitch/styles/mastodon-light/colors.scss | 1 + .../flavours/glitch/styles/polls.scss | 9 ++-- public/icons.svg | 14 ++++++ 57 files changed, 232 insertions(+), 231 deletions(-) diff --git a/app/javascript/flavours/glitch/components/column_back_button.jsx b/app/javascript/flavours/glitch/components/column_back_button.jsx index 28744c6a5..14f8ccd46 100644 --- a/app/javascript/flavours/glitch/components/column_back_button.jsx +++ b/app/javascript/flavours/glitch/components/column_back_button.jsx @@ -32,7 +32,7 @@ export default class ColumnBackButton extends PureComponent { const component = ( ); diff --git a/app/javascript/flavours/glitch/components/column_back_button_slim.jsx b/app/javascript/flavours/glitch/components/column_back_button_slim.jsx index f5219f28a..b22087ae7 100644 --- a/app/javascript/flavours/glitch/components/column_back_button_slim.jsx +++ b/app/javascript/flavours/glitch/components/column_back_button_slim.jsx @@ -27,7 +27,7 @@ export default class ColumnBackButtonSlim extends PureComponent { return (
- +
diff --git a/app/javascript/flavours/glitch/components/column_header.jsx b/app/javascript/flavours/glitch/components/column_header.jsx index 9ce770c19..45af37f9d 100644 --- a/app/javascript/flavours/glitch/components/column_header.jsx +++ b/app/javascript/flavours/glitch/components/column_header.jsx @@ -133,7 +133,7 @@ class ColumnHeader extends PureComponent { if (!pinned && ((multiColumn && router.history.location?.state?.fromMastodon) || showBackButton)) { backButton = ( ); @@ -176,7 +176,7 @@ class ColumnHeader extends PureComponent {

{hasTitle && ( )} diff --git a/app/javascript/flavours/glitch/components/icon.tsx b/app/javascript/flavours/glitch/components/icon.tsx index 7eb3de155..f0c4ce11e 100644 --- a/app/javascript/flavours/glitch/components/icon.tsx +++ b/app/javascript/flavours/glitch/components/icon.tsx @@ -5,17 +5,10 @@ import classNames from "classnames"; interface Props extends React.HTMLAttributes { id: string, className?: string, - fixedWidth?: boolean, children?: never, } -export const Icon: React.FC = ({ - id, - className, - fixedWidth, - title, - ...other -}) => ( +export const Icon: React.FC = ({ id, className, title, ...other }) => ( {title && {title}} diff --git a/app/javascript/flavours/glitch/components/icon_with_badge.tsx b/app/javascript/flavours/glitch/components/icon_with_badge.tsx index ef328c3f2..355e64173 100644 --- a/app/javascript/flavours/glitch/components/icon_with_badge.tsx +++ b/app/javascript/flavours/glitch/components/icon_with_badge.tsx @@ -16,11 +16,11 @@ export const IconWithBadge: React.FC = ({ issueBadge, className, }) => ( -
- +
+ {count > 0 && ( - {formatNumber(count)} + {formatNumber(count)} )} - {issueBadge &&
} + {issueBadge &&
}
); diff --git a/app/javascript/flavours/glitch/components/status_content.jsx b/app/javascript/flavours/glitch/components/status_content.jsx index 000d24ccb..115abc318 100644 --- a/app/javascript/flavours/glitch/components/status_content.jsx +++ b/app/javascript/flavours/glitch/components/status_content.jsx @@ -329,7 +329,6 @@ class StatusContent extends PureComponent { mediaIcons.forEach((mediaIcon, idx) => { toggleText.push(