diff --git a/.changelog/530.bugfix.md b/.changelog/530.bugfix.md new file mode 100644 index 0000000000..dd96728d3d --- /dev/null +++ b/.changelog/530.bugfix.md @@ -0,0 +1 @@ +Abbreviate block link on tablet diff --git a/src/app/components/Blocks/BlockLink.tsx b/src/app/components/Blocks/BlockLink.tsx index 3179eee234..4501d0f56e 100644 --- a/src/app/components/Blocks/BlockLink.tsx +++ b/src/app/components/Blocks/BlockLink.tsx @@ -21,10 +21,10 @@ export const BlockHashLink: FC<{ scope: SearchScope; hash: string; height: numbe hash, height, }) => { - const { isMobile } = useScreenSize() + const { isTablet } = useScreenSize() return ( - {isMobile ? ( + {isTablet ? ( ) : (