Skip to content

Commit

Permalink
small style fixes (#958)
Browse files Browse the repository at this point in the history
* add style fixes

* add new favicon

* add the favicon

* update favicon

* fix typo in help

* add bot the bldr to the description
  • Loading branch information
OlegMoshkovich committed Feb 3, 2024
1 parent 86ec4d2 commit da7575e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Components/ControlsGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default function ControlsGroup({navigate, isRepoActive}) {
sx={{'& > *:not(:last-of-type)': {mr: .6}}}
>
<OpenModelControl navigate={navigate}/>
<SaveModelControl navigate={navigate}/>
<TooltipIconButton
title='Search'
icon={<SearchIcon className='icon-share' color='secondary'/>}
Expand All @@ -54,7 +55,6 @@ export default function ControlsGroup({navigate, isRepoActive}) {
}
}}
/>
<SaveModelControl navigate={navigate}/>
{isRepoActive &&
<TooltipIconButton
title='Versions'
Expand Down
8 changes: 4 additions & 4 deletions src/Components/HelpControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Typography from '@mui/material/Typography'
import useTheme from '@mui/styles/useTheme'
import Dialog from './Dialog'
import {TooltipIconButton} from './Buttons'
import AutoFixHighIcon from '@mui/icons-material/AutoFixHigh'
import AutoFixHighOutlinedIcon from '@mui/icons-material/AutoFixHighOutlined'
import FormatListBulletedIcon from '@mui/icons-material/FormatListBulleted'
import HideSourceOutlinedIcon from '@mui/icons-material/HideSourceOutlined'
import VisibilityOutlinedIcon from '@mui/icons-material/VisibilityOutlined'
Expand Down Expand Up @@ -168,7 +168,7 @@ const HelpList = ({pageIndex}) => {
},
{
icon: <HistoryIcon color='secondary'/>,
description: 'Access project model version history',
description: 'Access project versions',
},
{
icon: <SearchIcon color='secondary'/>,
Expand All @@ -187,8 +187,8 @@ const HelpList = ({pageIndex}) => {
description: 'Attach notes to 3D elements',
},
{
icon: <AutoFixHighIcon color='secondary'/>,
description: 'Renerate renderings using BLDR AI Agent',
icon: <AutoFixHighOutlinedIcon color='secondary'/>,
description: 'Create renderings using Bot the BLDR',
},
]

Expand Down
6 changes: 3 additions & 3 deletions src/Components/SaveModelControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import SelectorSeparator from './SelectorSeparator'
import ClearIcon from '@mui/icons-material/Clear'
import CreateNewFolderIcon from '@mui/icons-material/CreateNewFolderOutlined'
import IconButton from '@mui/material/IconButton'
import SaveIcon from '@mui/icons-material/Save'
import SaveOutlinedIcon from '@mui/icons-material/SaveOutlined'
import SaveHeaderIcon from '../assets/icons/SaveGraphic.svg'
import UploadIcon from '../assets/icons/Upload.svg'

Expand Down Expand Up @@ -60,11 +60,11 @@ export default function SaveModelControl({navigate}) {


return (
<Box sx={{}}>
<Box sx={{marginRight: '6px'}}>
<TooltipIconButton
title={'Save IFC'}
onClick={() => setIsDialogDisplayed(true)}
icon={<SaveIcon className='icon-share' color='secondary'/>}
icon={<SaveOutlinedIcon className='icon-share' color='secondary'/>}
placement={'bottom'}
selected={isDialogDisplayed}
dataTestId='save-ifc'
Expand Down
2 changes: 1 addition & 1 deletion src/Components/SnackbarMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function SnackBarMessage() {
const message = useStore((state) => state.snackMessage)
return (
<Snackbar
anchorOrigin={{vertical: 'bottom', horizontal: 'left'}}
anchorOrigin={{vertical: 'bottom', horizontal: 'center'}}
open={message !== ''}
style={{bottom: '1em'}}
message={
Expand Down
4 changes: 2 additions & 2 deletions src/assets/icons/SaveGraphic.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit da7575e

Please sign in to comment.