Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Mobile improvements #255

Merged
merged 5 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion webapp/IronCalc/src/components/SheetTabBar/SheetTabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ const Container = styled("div")`
font-family: Inter;
background-color: ${theme.palette.common.white};
border-top: 1px solid ${theme.palette.grey["300"]};
@media (max-width: 769px) {
padding-right: 0px;
padding-left: 8px;
}
`;

const Sheets = styled("div")`
Expand Down Expand Up @@ -152,7 +156,7 @@ const Advert = styled("a")`
text-decoration: underline;
}
@media (max-width: 769px) {
height: 100%;
display: none;
}
`;

Expand All @@ -161,6 +165,9 @@ const LeftButtonsContainer = styled("div")`
flex-direction: row;
gap: 4px;
padding-right: 12px;
@media (max-width: 769px) {
padding-right: 8px;
}
`;

const VerticalDivider = styled("div")`
Expand Down
1 change: 0 additions & 1 deletion webapp/IronCalc/src/components/formatPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ const StyledDialogContent = styled("div")`

const StyledTextField = styled(TextField)`
width: 100%;
min-width: 320px;
border-radius: 4px;
overflow: hidden;
& .MuiInputBase-input {
Expand Down
8 changes: 4 additions & 4 deletions webapp/IronCalc/src/components/formulabar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { Model } from "@ironcalc/wasm";
import { styled } from "@mui/material";
import { Fx } from "../icons";
import { theme } from "../theme";
import {
COLUMN_WIDTH_SCALE,
ROW_HEIGH_SCALE,
Expand Down Expand Up @@ -99,7 +100,7 @@ const FormulaSymbolButton = styled(StyledButton)`
`;

const Divider = styled("div")`
background-color: #e0e0e0;
background-color: ${theme.palette.grey["300"]};
width: 1px;
height: 20px;
margin-left: 16px;
Expand Down Expand Up @@ -127,14 +128,13 @@ const Container = styled("div")`

const AddressContainer = styled("div")`
padding-left: 16px;
color: #333;
color: ${theme.palette.common.black};
font-style: normal;
font-weight: normal;
font-size: 11px;
font-size: 12px;
display: flex;
font-weight: 600;
flex-grow: row;
min-width: ${headerColumnWidth}px;
`;

const CellBarAddress = styled("div")`
Expand Down