Merge branch 'search-results-divide' into 'develop'

Dark style for divide-gray-200

See merge request soapbox-pub/soapbox-fe!1316
This commit is contained in:
marcin mikołajczak 2022-05-06 13:29:27 +00:00
commit f40fdc3448
3 changed files with 3 additions and 3 deletions

View file

@ -162,7 +162,7 @@ class SearchResults extends ImmutablePureComponent {
placeholderComponent={placeholderComponent}
placeholderCount={20}
className={classNames({
'divide-gray-200 divide-solid divide-y': selectedFilter === 'statuses',
'divide-gray-200 dark:divide-slate-700 divide-solid divide-y': selectedFilter === 'statuses',
'space-y-4': selectedFilter === 'accounts',
})}
>

View file

@ -21,7 +21,7 @@ const SuggestedAccountsStep = ({ onNext }: { onNext: () => void }) => {
const renderSuggestions = () => {
return (
<div className='sm:pt-4 sm:pb-10 flex flex-col divide-y divide-solid divide-gray-200'>
<div className='sm:pt-4 sm:pb-10 flex flex-col divide-y divide-solid divide-gray-200 dark:divide-slate-700'>
{suggestionsToRender.map((suggestion: ImmutableMap<string, any>) => (
<div key={suggestion.get('account')} className='py-2'>
<AccountContainer

View file

@ -32,7 +32,7 @@ const LandingPageModal: React.FC<ILandingPageModal> = ({ onClose }) => {
title={<img alt='Logo' src={logo} className='h-4 w-auto' />}
onClose={() => onClose('LANDING_PAGE')}
>
<div className='mt-4 divide-y divide-solid divide-gray-200'>
<div className='mt-4 divide-y divide-solid divide-gray-200 dark:divide-slate-700'>
<div
className={classNames('pt-6 grid gap-4', {
'grid-cols-2': isOpen,