diff --git a/web/src/components/SearchBar.tsx b/web/src/components/SearchBar.tsx index 38afab77..d638b066 100644 --- a/web/src/components/SearchBar.tsx +++ b/web/src/components/SearchBar.tsx @@ -24,7 +24,7 @@ const SearchBar: React.FC = () => { return (
- +
diff --git a/web/src/components/ShareMemoImageDialog.tsx b/web/src/components/ShareMemoImageDialog.tsx index 8ae8d3f4..715c1f85 100644 --- a/web/src/components/ShareMemoImageDialog.tsx +++ b/web/src/components/ShareMemoImageDialog.tsx @@ -80,7 +80,7 @@ const ShareMemoImageDialog: React.FC = (props: Props) => {
-

{shortcutImgUrl ? "Click or press to save the image 👇" : "Generating the screenshot..."}

+

{shortcutImgUrl ? "Click to save the image 👇" : "Generating the screenshot..."}

diff --git a/web/src/labs/html2image/index.ts b/web/src/labs/html2image/index.ts index c32f4644..4ec67702 100644 --- a/web/src/labs/html2image/index.ts +++ b/web/src/labs/html2image/index.ts @@ -89,7 +89,7 @@ export const toCanvas = async (element: HTMLElement, options?: Options): Promise const url = await toSVG(element, options); const imageEl = new Image(); imageEl.style.zIndex = "-1"; - imageEl.style.position = "absolute"; + imageEl.style.position = "fixed"; imageEl.style.top = "0"; document.body.append(imageEl); await waitImageLoaded(imageEl, url); diff --git a/web/src/less/shortcut-list.less b/web/src/less/shortcut-list.less index a107b358..2fca8cc4 100644 --- a/web/src/less/shortcut-list.less +++ b/web/src/less/shortcut-list.less @@ -20,18 +20,6 @@ } } - > .create-shortcut-btn-container { - @apply flex flex-row justify-start items-center w-full mt-4 mb-2 ml-4; - - > .btn { - @apply flex p-2 px-4 rounded-lg text-sm border border-dashed border-blue-600; - - &:hover { - @apply bg-blue-600 text-white; - } - } - } - > .shortcuts-container { @apply flex flex-col justify-start items-start relative w-full h-auto flex-nowrap mb-2;