impr(saved custom texts): add message to remind user that custom texts are only stored locally

This commit is contained in:
Miodec 2025-02-07 00:01:00 +01:00
parent f7df16ac8e
commit badfb07ae8
2 changed files with 17 additions and 0 deletions

View file

@ -643,6 +643,11 @@
<div class="list"></div>
<div class="title">Saved long texts</div>
<div class="listLong"></div>
<div class="divider"></div>
<div class="message">
Heads up! These texts are only stored locally. If you switch devices or
clear your local browser data they will be lost.
</div>
</div>
</dialog>
<dialog id="saveCustomTextModal" class="modalWrapper hidden">

View file

@ -329,6 +329,18 @@ body.darkMode {
}
}
.divider {
height: 0.25rem;
background: var(--sub-alt-color);
border-radius: var(--roundness);
margin: 1rem 0;
}
.message {
font-size: 0.75em;
color: var(--sub-color);
}
.listLong {
display: grid;
gap: 1rem;