switch "Compose Post" button's display to flex to make use of the gap attribute

This commit is contained in:
Muaz Ahmad 2024-11-01 16:13:38 +05:00
parent eff5ef7776
commit ac896bdb34

View file

@ -328,7 +328,7 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
icon={<EditOutlined />}
size="small"
onClick={handleCreatePostButtonPressed}
style={{ display: federationEnabled ? 'block' : 'none', margin: '10px' }}
style={{ display: federationEnabled ? 'flex' : 'none', margin: '10px' }}
>
Compose Post
</Button>