diff --git a/src/components/ui/column/column.tsx b/src/components/ui/column/column.tsx index e94b1a3f5..3d7a738be 100644 --- a/src/components/ui/column/column.tsx +++ b/src/components/ui/column/column.tsx @@ -59,15 +59,13 @@ export interface IColumn { children?: React.ReactNode; /** Action for the ColumnHeader, displayed at the end. */ action?: React.ReactNode; - /** Determines if the action for the ColumnHeader is displayed on the right. */ - actionRightPosition?: boolean; /** Column size, inherited from Card. */ size?: CardSizes; } /** A backdrop for the main section of the UI. */ const Column = React.forwardRef((props, ref): JSX.Element => { - const { backHref, children, label, transparent = false, withHeader = true, className, bodyClassName, action, actionRightPosition, size } = props; + const { backHref, children, label, transparent = false, withHeader = true, className, bodyClassName, action, size } = props; const soapboxConfig = useSoapboxConfig(); const [isScrolled, setIsScrolled] = useState(false); @@ -108,7 +106,6 @@ const Column = React.forwardRef((props, ref): JSX.Eleme 'p-4 sm:p-0 sm:pb-4 black:p-4': transparent, '-mt-4 p-4': size !== 'lg' && !transparent, '-mt-4 p-4 sm:-mt-6 sm:-mx-6 sm:p-6': size === 'lg' && !transparent, - 'w-full': actionRightPosition, })} action={action} /> diff --git a/src/features/public-timeline/index.tsx b/src/features/public-timeline/index.tsx index 0da913c13..63a58641c 100644 --- a/src/features/public-timeline/index.tsx +++ b/src/features/public-timeline/index.tsx @@ -64,7 +64,13 @@ const PublicTimeline = () => { }, []); return ( - } actionRightPosition> + : null} + // actionRightPosition + > {showExplanationBox && ( diff --git a/src/utils/features.ts b/src/utils/features.ts index b411de57c..ac757dd1b 100644 --- a/src/utils/features.ts +++ b/src/utils/features.ts @@ -900,6 +900,9 @@ const getInstanceFeatures = (instance: Instance) => { v.software === DITTO, ]), + /** Ability to filter the public timeline by language. */ + publicTimelineLanguage: v.software === DITTO, + /** * Ability to quote posts in statuses. * @see POST /api/v1/statuses