update: copy
This commit is contained in:
@@ -41,8 +41,8 @@ export function FileBar(properties: {
|
|||||||
const [maxTitleWidth, setMaxTitleWidth] = useState(0);
|
const [maxTitleWidth, setMaxTitleWidth] = useState(0);
|
||||||
const width = useWindowWidth();
|
const width = useWindowWidth();
|
||||||
|
|
||||||
const cloudWarningText1 = `This workbook is stored only in your browser.`;
|
const cloudWarningText1 = `This workbook is stored only in your browser. To keep it safe, download it as .xlsx.`;
|
||||||
const cloudWarningText2 = `To keep your work 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
|
// biome-ignore lint/correctness/useExhaustiveDependencies: We need to update the maxTitleWidth when the width changes
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
@@ -127,7 +127,7 @@ export function FileBar(properties: {
|
|||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
sx: {
|
sx: {
|
||||||
maxWidth: "140px",
|
maxWidth: "240px",
|
||||||
fontSize: "11px",
|
fontSize: "11px",
|
||||||
padding: "8px",
|
padding: "8px",
|
||||||
backgroundColor: "#fff",
|
backgroundColor: "#fff",
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ function LocalStorageAlert() {
|
|||||||
<AlertBody>
|
<AlertBody>
|
||||||
IronCalc stores your data only in your browser's local storage.
|
IronCalc stores your data only in your browser's local storage.
|
||||||
</AlertBody>
|
</AlertBody>
|
||||||
<AlertBody style={{ fontWeight: "600", margin: "6px 0px 0px 0px" }}>
|
<AlertBody style={{ marginTop: "6px" }}>
|
||||||
To keep your work safe, please download your XLSX file regularly.
|
<strong>Download your XLSX often</strong> – future versions may not open
|
||||||
|
current workbooks, even if shared.
|
||||||
</AlertBody>
|
</AlertBody>
|
||||||
</AlertWrapper>
|
</AlertWrapper>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user