Skip to content

Commit

Permalink
regression: Contextualbar size on wider screens (RocketChat#29612)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
dougfabris and kodiakhq[bot] authored Jun 22, 2023
1 parent 5132e6d commit f64b8b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/meteor/client/providers/LayoutProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ const LayoutProvider: FC = ({ children }) => {
},
size: {
sidebar: '240px',
contextualBar: breakpoints.includes('sm') ? '380px' : '100%',
// eslint-disable-next-line no-nested-ternary
contextualBar: breakpoints.includes('sm') ? (breakpoints.includes('xl') ? '38%' : '380px') : '100%',
},
contextualBarExpanded: breakpoints.includes('sm'),
// eslint-disable-next-line no-nested-ternary
Expand Down

0 comments on commit f64b8b5

Please sign in to comment.