Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: back button shrinking when title is big

thecodrr645e30742073
diff --git a/apps/web/src/components/route-container/index.js b/apps/web/src/components/route-container/index.js
index 3012ca400..77dcabd7a 100644
--- a/apps/web/src/components/route-container/index.js
+++ b/apps/web/src/components/route-container/index.js
@@ -50,10 +50,12 @@ function Header(props) {
<Flex alignItems="center" py={2}>
{canGoBack || onlyBackButton ? (
<Box
+ alignSelf="flex-start"
onClick={() => window.history.back()}
ml={-2}
height={38}
width={38}
+ sx={{ flexShrink: 0 }}
>
<Icon.ChevronLeft
size={38}