FIX[WebApp]: fixes in formula bar

* fx is not clickable
* Removed chevron
* Show slecting/ed area in address
This commit is contained in:
Nicolás Hatcher
2024-10-24 21:44:56 +02:00
committed by Nicolás Hatcher Andrés
parent f9ea4fd757
commit 7ffbfac432
3 changed files with 11 additions and 9 deletions

View File

@@ -1,6 +1,5 @@
import type { Model } from "@ironcalc/wasm";
import { Button, styled } from "@mui/material";
import { ChevronDown } from "lucide-react";
import { styled } from "@mui/material";
import { Fx } from "../icons";
import {
COLUMN_WIDTH_SCALE,
@@ -34,9 +33,6 @@ function FormulaBar(properties: FormulaBarProps) {
<Container>
<AddressContainer>
<CellBarAddress>{cellAddress}</CellBarAddress>
<StyledButton>
<ChevronDown />
</StyledButton>
</AddressContainer>
<Divider />
<FormulaContainer>
@@ -84,7 +80,9 @@ function FormulaBar(properties: FormulaBarProps) {
);
}
const StyledButton = styled(Button)`
const StyledButton = styled("div")`
display: inline-flex;
align-items: center;
width: 15px;
min-width: 0px;
padding: 0px;