Skip to content

Commit

Permalink
Show tabs as Menu only for xs: ioBroker/ioBroker.matter#327
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jan 23, 2025
1 parent 6639e33 commit d10880c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jsonConfig/src/JsonConfigComponent/ConfigTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ class ConfigTabs extends ConfigGeneric<ConfigTabsProps, ConfigTabsState> {

const currentBreakpoint = this.getCurrentBreakpoint();
let tabs: React.JSX.Element;
if (currentBreakpoint === 'xs' || currentBreakpoint === 'sm') {
if (currentBreakpoint === 'xs') {
tabs = (
<Toolbar
style={{
width: '100%',
width: 'calc(100% - 48px)',
backgroundColor: this.props.oContext.themeType === 'dark' ? '#222' : '#DDD',
}}
variant="dense"
Expand Down

0 comments on commit d10880c

Please sign in to comment.