[web][photos] Fix web navbar button sizes (#2912)
Two minor style fixes for the nav bar. 1. Sidebar 3-lines IconButton had its left padding set to 0, which causes issues. 2. Upload icon on mobile had the wrong height and thus weird ripple / hover effects. Please see the respective commit for details & the reasoning. How those currently look:   How they look with the proposed fix:   Thanks!
This commit is contained in:
@@ -17,7 +17,7 @@ const Wrapper = styled("div")<{ $disableShrink: boolean }>`
|
||||
!$disableShrink &&
|
||||
`@media (max-width: 624px) {
|
||||
& .mobile-button {
|
||||
display: block;
|
||||
display: inline-flex;
|
||||
}
|
||||
& .desktop-button {
|
||||
display: none;
|
||||
|
||||
@@ -53,7 +53,7 @@ export function GalleryNavbar({
|
||||
) : (
|
||||
<>
|
||||
{!isInSearchMode && (
|
||||
<IconButton onClick={openSidebar} sx={{ pl: 0 }}>
|
||||
<IconButton onClick={openSidebar}>
|
||||
<MenuIcon />
|
||||
</IconButton>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user