Merge pull request #1281 from ShaneMaglangit/fix/center-toggle-icons

Fix: Improve the icon alignment in toggle buttons
This commit is contained in:
Jackson Harper 2022-10-05 22:43:10 +08:00 committed by GitHub
commit 8014bc8edf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -651,6 +651,9 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
const [, updateState] = useState({})
const StyledToggleButton = styled('button', {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
p: '0px',
backgroundColor: 'transparent',
border: 'none',