Skip to content

Commit

Permalink
Moved noWrap inline style to typography prop noWrap and moved textTra…
Browse files Browse the repository at this point in the history
…nsform to sx
  • Loading branch information
tomporvaz committed Jul 19, 2023
1 parent 01bf2df commit 2014066
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions src/components/Toolbar/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ function Toolbar(props) {
sx={{
display: 'flex',
minWidth: '188px',
flexDirection: 'column'
flexDirection: 'column',
textTransform: 'none'
}}
>
<PhlaskWater />
Expand All @@ -215,53 +216,48 @@ function Toolbar(props) {
sx={{
width: '100%',
display: 'flex',
flexDirection: 'column'
flexDirection: 'column',
textTransform: 'none'
}}
>
<ResourceIcon />
<Typography style={{ textTransform: 'none' }} fontSize={'small'}>
Resources
</Typography>
<Typography fontSize={'small'}>Resources</Typography>
</IconButton>
<IconButton
variant="blue"
sx={{
width: '100%',
display: 'flex',
flexDirection: 'column'
flexDirection: 'column',
textTransform: 'none'
}}
>
<FilterIcon />
<Typography style={{ textTransform: 'none' }} fontSize={'small'}>
Filter
</Typography>
<Typography fontSize={'small'}>Filter</Typography>
</IconButton>
<IconButton
variant="blue"
sx={{
width: '100%',
display: 'flex',
flexDirection: 'column'
flexDirection: 'column',
textTransform: 'none'
}}
>
<SearchIcon />
<Typography style={{ textTransform: 'none' }} fontSize={'small'}>
Search
</Typography>
<Typography fontSize={'small'}>Search</Typography>
</IconButton>
<IconButton
variant="blue"
sx={{
width: '100%',
display: 'flex',
flexDirection: 'column'
flexDirection: 'column',
textTransform: 'none'
}}
>
<ContributeIcon />
<Typography
style={{ textTransform: 'none', whiteSpace: 'nowrap' }}
fontSize={'small'}
>
<Typography noWrap fontSize={'small'}>
Add Site
</Typography>
</IconButton>
Expand Down

0 comments on commit 2014066

Please sign in to comment.