Update spacing on Widgets

environments/review-improve-pe-oqh7pz/deployments/1027
Justin 2 years ago
parent 1d69b66e4b
commit 63bd9a21fc

@ -41,7 +41,7 @@ const Widget: React.FC<IWidget> = ({
action, action,
}): JSX.Element => { }): JSX.Element => {
return ( return (
<Stack space={2}> <Stack space={4}>
<HStack alignItems='center' justifyContent='between'> <HStack alignItems='center' justifyContent='between'>
<WidgetTitle title={title} /> <WidgetTitle title={title} />
{action || (onActionClick && ( {action || (onActionClick && (

@ -11,7 +11,7 @@ import ActionButton from '../ui/components/action-button';
import type { Account } from 'soapbox/types/entities'; import type { Account } from 'soapbox/types/entities';
const messages = defineMessages({ const messages = defineMessages({
heading: { id: 'feed_suggestions.heading', defaultMessage: 'Suggested profiles' }, heading: { id: 'feed_suggestions.heading', defaultMessage: 'Suggested Profiles' },
viewAll: { id: 'feed_suggestions.view_all', defaultMessage: 'View all' }, viewAll: { id: 'feed_suggestions.view_all', defaultMessage: 'View all' },
}); });
@ -65,7 +65,7 @@ const FeedSuggestions = () => {
if (!isLoading && suggestedProfiles.size === 0) return null; if (!isLoading && suggestedProfiles.size === 0) return null;
return ( return (
<Card size='lg' variant='rounded' className='space-y-4'> <Card size='lg' variant='rounded' className='space-y-6'>
<HStack justifyContent='between' alignItems='center'> <HStack justifyContent='between' alignItems='center'>
<CardTitle title={intl.formatMessage(messages.heading)} /> <CardTitle title={intl.formatMessage(messages.heading)} />

@ -10,7 +10,7 @@ import Column from 'soapbox/features/ui/components/column';
import { useAppDispatch, useAppSelector, useFeatures } from 'soapbox/hooks'; import { useAppDispatch, useAppSelector, useFeatures } from 'soapbox/hooks';
const messages = defineMessages({ const messages = defineMessages({
heading: { id: 'followRecommendations.heading', defaultMessage: 'Suggested profiles' }, heading: { id: 'followRecommendations.heading', defaultMessage: 'Suggested Profiles' },
}); });
const FollowRecommendations: React.FC = () => { const FollowRecommendations: React.FC = () => {

Loading…
Cancel
Save