fix: Various fixes for commenting on mobile (#5195

* fix: Comment sidebar chopped on mobile
fix: Zoom on comment input focus on mobile

* fix: Always show reply option on mobile

* fix: Auto-expand comment sidebar if linked to a specific comment
This commit is contained in:
Tom Moor
2023-04-12 22:00:00 -04:00
committed by GitHub
parent 821c9368f6
commit 7c44e116fc
5 changed files with 48 additions and 32 deletions

View File

@@ -248,7 +248,7 @@ const Container = styled(Flex)<ContainerProps>`
${(props) => (props.$mobileSidebarVisible ? 0 : "-100%")}
);
z-index: ${depths.sidebar};
max-width: 70%;
max-width: 80%;
min-width: 280px;
padding-top: ${Desktop.hasInsetTitlebar() ? 36 : 0}px;
${draggableOnDesktop()}