diff --git a/src/components/ui/column/column.tsx b/src/components/ui/column/column.tsx index 4e4dcabd3..e94b1a3f5 100644 --- a/src/components/ui/column/column.tsx +++ b/src/components/ui/column/column.tsx @@ -59,15 +59,15 @@ 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; - /** Extra feature. */ - feature?: JSX.Element; } /** 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, size, feature } = props; + const { backHref, children, label, transparent = false, withHeader = true, className, bodyClassName, action, actionRightPosition, size } = props; const soapboxConfig = useSoapboxConfig(); const [isScrolled, setIsScrolled] = useState(false); @@ -99,23 +99,19 @@ const Column = React.forwardRef((props, ref): JSX.Eleme {withHeader && ( -
- - - {feature} - -
+ )} {children} diff --git a/src/features/public-timeline/index.tsx b/src/features/public-timeline/index.tsx index 1012c003c..0da913c13 100644 --- a/src/features/public-timeline/index.tsx +++ b/src/features/public-timeline/index.tsx @@ -64,7 +64,7 @@ const PublicTimeline = () => { }, []); return ( - }> + } actionRightPosition> {showExplanationBox && (