fix: tiny details in styling
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
cd47c609a0
commit
4029441cea
@@ -112,6 +112,7 @@ const FormulaBarMenu = (properties: FormulaBarMenuProps) => {
|
|||||||
const StyledMenu = styled(Menu)`
|
const StyledMenu = styled(Menu)`
|
||||||
top: 4px;
|
top: 4px;
|
||||||
min-width: 260px;
|
min-width: 260px;
|
||||||
|
max-width: 460px;
|
||||||
& .MuiPaper-root {
|
& .MuiPaper-root {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 4px 0px;
|
padding: 4px 0px;
|
||||||
@@ -151,21 +152,21 @@ const MenuDivider = styled("div")`
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
border-top: 1px solid #eeeeee;
|
border-top: 1px solid ${theme.palette.grey[200]};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const MenuItemText = styled("div")`
|
const MenuItemText = styled("div")`
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
color: #000;
|
color: ${theme.palette.common.black};
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const MenuItemExample = styled("div")`
|
const MenuItemExample = styled("div")`
|
||||||
color: #bdbdbd;
|
color: ${theme.palette.grey[400]};
|
||||||
margin-left: 20px;
|
margin-left: 12px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default FormulaBarMenu;
|
export default FormulaBarMenu;
|
||||||
|
|||||||
@@ -765,7 +765,7 @@ const WorksheetAreaLeft = styled("div")<WorksheetAreaLeftProps>(
|
|||||||
position: "absolute",
|
position: "absolute",
|
||||||
top: `${TOOLBAR_HEIGHT + 1}px`,
|
top: `${TOOLBAR_HEIGHT + 1}px`,
|
||||||
width: `calc(100% - ${$drawerWidth}px)`,
|
width: `calc(100% - ${$drawerWidth}px)`,
|
||||||
height: `calc(100% - ${TOOLBAR_HEIGHT + 1}px)`,
|
height: `calc(100% - ${TOOLBAR_HEIGHT}px)`,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user