update: copy

This commit is contained in:
Daniel
2025-11-23 13:04:32 +01:00
parent 73e5c305cc
commit ba40c3c673
2 changed files with 6 additions and 5 deletions

View File

@@ -41,8 +41,8 @@ export function FileBar(properties: {
const [maxTitleWidth, setMaxTitleWidth] = useState(0);
const width = useWindowWidth();
const cloudWarningText1 = `This workbook is stored only in your browser.`;
const cloudWarningText2 = `To keep your work safe, download it as .xlsx.`;
const cloudWarningText1 = `This workbook is stored only in your browser. To keep it safe, download it as .xlsx.`;
const cloudWarningText2 = ` Future versions may be incompatible.`;
// biome-ignore lint/correctness/useExhaustiveDependencies: We need to update the maxTitleWidth when the width changes
useLayoutEffect(() => {
@@ -127,7 +127,7 @@ export function FileBar(properties: {
},
tooltip: {
sx: {
maxWidth: "140px",
maxWidth: "240px",
fontSize: "11px",
padding: "8px",
backgroundColor: "#fff",

View File

@@ -44,8 +44,9 @@ function LocalStorageAlert() {
<AlertBody>
IronCalc stores your data only in your browser's local storage.
</AlertBody>
<AlertBody style={{ fontWeight: "600", margin: "6px 0px 0px 0px" }}>
To keep your work safe, please download your XLSX file regularly.
<AlertBody style={{ marginTop: "6px" }}>
<strong>Download your XLSX often</strong> future versions may not open
current workbooks, even if shared.
</AlertBody>
</AlertWrapper>
);