Skip to content

Commit badfb07

Browse files
committed
impr(saved custom texts): add message to remind user that custom texts are only stored locally
1 parent f7df16a commit badfb07

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

frontend/src/html/popups.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,11 @@
643643
<div class="list"></div>
644644
<div class="title">Saved long texts</div>
645645
<div class="listLong"></div>
646+
<div class="divider"></div>
647+
<div class="message">
648+
Heads up! These texts are only stored locally. If you switch devices or
649+
clear your local browser data they will be lost.
650+
</div>
646651
</div>
647652
</dialog>
648653
<dialog id="saveCustomTextModal" class="modalWrapper hidden">

frontend/src/styles/popups.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,18 @@ body.darkMode {
329329
}
330330
}
331331

332+
.divider {
333+
height: 0.25rem;
334+
background: var(--sub-alt-color);
335+
border-radius: var(--roundness);
336+
margin: 1rem 0;
337+
}
338+
339+
.message {
340+
font-size: 0.75em;
341+
color: var(--sub-color);
342+
}
343+
332344
.listLong {
333345
display: grid;
334346
gap: 1rem;

0 commit comments

Comments
 (0)