fix: quick link input, close #1124

This commit is contained in:
David Ralph
2026-01-28 16:45:41 +00:00
parent 6465b88f30
commit 49630ee375
3 changed files with 37 additions and 24 deletions

View File

@@ -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 (
<a
className="quicklinkstext"

View File

@@ -145,6 +145,10 @@
text-decoration: none;
color: white;
font-size: 0.8em;
line-height: 1.5;
display: inline-flex;
align-items: center;
vertical-align: middle;
&:hover {
text-decoration: underline;
@@ -616,6 +620,10 @@ button.quicklinks {
padding: 8px 12px;
border-radius: 6px;
transition: all 0.2s ease;
line-height: 1.5;
display: inline-flex;
align-items: center;
vertical-align: middle;
&:hover {
text-decoration: underline;