UPDATE: Added a Help button
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
6f124185b2
commit
c92c065073
@@ -35,6 +35,11 @@ export function FileBar(properties: {
|
|||||||
}}
|
}}
|
||||||
onDelete={properties.onDelete}
|
onDelete={properties.onDelete}
|
||||||
/>
|
/>
|
||||||
|
<HelpButton
|
||||||
|
onClick={() => window.open("https://docs.ironcalc.com", "_blank")}
|
||||||
|
>
|
||||||
|
Help
|
||||||
|
</HelpButton>
|
||||||
<WorkbookTitle
|
<WorkbookTitle
|
||||||
name={properties.model.getName()}
|
name={properties.model.getName()}
|
||||||
onNameChange={(name) => {
|
onNameChange={(name) => {
|
||||||
@@ -98,6 +103,19 @@ const StyledIronCalcIcon = styled(IronCalcIcon)`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const HelpButton = styled("div")`
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: Inter;
|
||||||
|
padding: 8px;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
&:hover {
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
const Toast = styled("div")`
|
const Toast = styled("div")`
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@@ -107,7 +125,7 @@ const Toast = styled("div")`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const Divider = styled("div")`
|
const Divider = styled("div")`
|
||||||
margin: 0px 16px;
|
margin: 0px 8px 0px 16px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
border-left: 1px solid #e0e0e0;
|
border-left: 1px solid #e0e0e0;
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user