chore: run prettier, lint, change changelog version, urls etc

This commit is contained in:
David Ralph
2024-06-03 17:03:32 +01:00
parent 8346ce06ea
commit 9b03763b44
26 changed files with 68 additions and 82 deletions

View File

@@ -52,9 +52,19 @@ function AddModal({ urlError, iconError, addLink, closeModal, edit, editData, ed
{iconError} {urlError}
</span>
{edit ? (
<Button type="settings" onClick={() => editLink(editData, name, url, icon)} icon={<MdAddLink />} label={variables.getMessage('modals.main.settings.sections.quicklinks.edit')} />
<Button
type="settings"
onClick={() => editLink(editData, name, url, icon)}
icon={<MdAddLink />}
label={variables.getMessage('modals.main.settings.sections.quicklinks.edit')}
/>
) : (
<Button type="settings" onClick={() => addLink(name, url, icon)} icon={<MdAddLink />} label={variables.getMessage('widgets.quicklinks.add')} />
<Button
type="settings"
onClick={() => addLink(name, url, icon)}
icon={<MdAddLink />}
label={variables.getMessage('widgets.quicklinks.add')}
/>
)}
</div>
</div>

View File

@@ -174,7 +174,6 @@
box-sizing: border-box !important;
border-radius: 12px 12px 0 0;
backdrop-filter: blur(40px) saturate(150%) brightness(75%);
backdrop-filter: blur(40px) saturate(150%) brightness(75%);
@include themed {
background-image: linear-gradient(to bottom, transparent, t($modal-background));
@@ -367,7 +366,6 @@ p.author {
border-radius: 150px;
padding: 1px 12px;
backdrop-filter: blur(16px) saturate(180%);
backdrop-filter: blur(16px) saturate(180%);
background-color: rgb(255 255 255 / 10%);
border: 1px solid rgb(209 213 219 / 30%);
color: #fff;

View File

@@ -71,7 +71,6 @@
.btn-collection {
padding: 1px 12px;
backdrop-filter: blur(16px) saturate(180%);
backdrop-filter: blur(16px) saturate(180%);
background-color: rgb(255 255 255 / 10%);
border: 1px solid rgb(209 213 219 / 30%);
color: #fff;

View File

@@ -166,7 +166,6 @@ p.description {
.subtitle {
user-select: text !important;
user-select: text !important;
}
}

View File

@@ -86,6 +86,7 @@ table {
border-collapse: separate;
border-radius: 10px;
margin-top: 20px;
@include themed {
box-shadow: 0 0 0 1px t($modal-sidebarActive);
padding: 0;
@@ -97,9 +98,10 @@ table {
@include themed {
border-radius: t($borderRadius);
color: t($subColor);
}
letter-spacing: 2px;
letter-spacing: 2px;
th {
padding: 20px;
}
@@ -130,6 +132,7 @@ table {
textarea {
width: 90%;
margin: 10px;
@include themed {
color: t($color);
}

View File

@@ -31,7 +31,11 @@ function ShareModal({ modalClose, data }) {
const copyLink = () => {
navigator.clipboard.writeText(data.url);
toast(data.startsWith('"') ? variables.getMessage('toasts.quote') : variables.getMessage('toasts.link_copied'));
toast(
data.startsWith('"')
? variables.getMessage('toasts.quote')
: variables.getMessage('toasts.link_copied'),
);
};
return (

View File

@@ -32,7 +32,6 @@
margin-left: -30px; */
cursor: initial;
user-select: none;
user-select: none;
opacity: 1;
animation-name: floating;
animation-duration: 0.3s;