Browse Source

Fix broken Fediverse logo in admin. Closes #2380

pull/2438/head
Gabe Kangas 3 years ago
parent
commit
9ddc41b2fc
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 6
      web/components/MainLayout.tsx

6
web/components/MainLayout.tsx

@ -31,6 +31,8 @@ import { TEXTFIELD_PROPS_STREAM_TITLE } from '../utils/config-constants';
import { ComposeFederatedPost } from './ComposeFederatedPost'; import { ComposeFederatedPost } from './ComposeFederatedPost';
import { UpdateArgs } from '../types/config-section'; import { UpdateArgs } from '../types/config-section';
import FediverseIcon from '../assets/images/fediverse-black.png';
export type MainLayoutProps = { export type MainLayoutProps = {
children: ReactNode; children: ReactNode;
}; };
@ -226,8 +228,8 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
icon: ( icon: (
<img <img
alt="fediverse icon" alt="fediverse icon"
src="/admin/fediverse-white.png" src={FediverseIcon.src}
width="15rem" width="17rem"
style={{ opacity: 0.6, position: 'relative', top: '-1px' }} style={{ opacity: 0.6, position: 'relative', top: '-1px' }}
/> />
), ),

Loading…
Cancel
Save