Skip to content

Commit

Permalink
Limits sidebar resize (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
Onokaev authored Jun 2, 2022
1 parent e9216db commit 291e595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/views/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class App extends Component<IAppProps, IAppState> {

public toggleSidebar = (): void => {
const shouldShowSidebar = this.setSidebarProperties();
this.changeDimensions(shouldShowSidebar ? '26%' : '4%');
this.changeDimensions(shouldShowSidebar ? '26%' : '1%');
telemetry.trackEvent(
eventTypes.BUTTON_CLICK_EVENT,
{
Expand Down Expand Up @@ -417,7 +417,7 @@ class App extends Component<IAppProps, IAppState> {
}
}}
className={`ms-Grid-col ms-sm12 ms-md4 ms-lg4 ${sidebarWidth} resizable-sidebar`}
minWidth={'4'}
minWidth={71}
maxWidth={maxWidth}
enable={{
right: true
Expand Down

0 comments on commit 291e595

Please sign in to comment.