diff --git a/src/components/Elements/AddModal/AddModal.jsx b/src/components/Elements/AddModal/AddModal.jsx index 4f68e975..ae9d8103 100644 --- a/src/components/Elements/AddModal/AddModal.jsx +++ b/src/components/Elements/AddModal/AddModal.jsx @@ -25,28 +25,33 @@ function AddModal({ urlError, iconError, addLink, closeModal, edit, editData, ed
- setName(e.target.value.replace(/(\r\n|\n|\r)/gm, ''))} - style={{ gridColumn: 'span 2' }} - /> - setUrl(e.target.value.replace(/(\r\n|\n|\r)/gm, ''))} - /> - setIcon(e.target.value.replace(/(\r\n|\n|\r)/gm, ''))} - /> +
+ setName(e.target.value.replace(/(\r\n|\n|\r)/gm, ''))} + /> +
+
+ setUrl(e.target.value.replace(/(\r\n|\n|\r)/gm, ''))} + /> +
+
+ setIcon(e.target.value.replace(/(\r\n|\n|\r)/gm, ''))} + /> +
diff --git a/src/features/quicklinks/QuickLinks.jsx b/src/features/quicklinks/QuickLinks.jsx index 254203a5..ed727aef 100644 --- a/src/features/quicklinks/QuickLinks.jsx +++ b/src/features/quicklinks/QuickLinks.jsx @@ -32,7 +32,7 @@ const QuickLinks = memo(() => { link.style.fontSize = `${14 * Number(zoom / 100)}px`; } - if (localStorage.getItem('quickLinksStyle') !== 'text') { + if (localStorage.getItem('quickLinksStyle') !== 'text_only') { for (const img of element.getElementsByTagName('img')) { img.style.height = `${30 * Number(zoom / 100)}px`; } @@ -80,7 +80,7 @@ const QuickLinks = memo(() => { const tooltipEnabled = localStorage.getItem('quicklinkstooltip'); const quickLink = (item, index) => { - if (localStorage.getItem('quickLinksStyle') === 'text') { + if (localStorage.getItem('quickLinksStyle') === 'text_only') { return (