Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/autocomplete/src/examples/autocomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ initialState = {
}
})}
>
<div style={{ height: '200px', overflowY: 'auto' }}>{menuItems}</div>
<div style={{ maxHeight: '200px', overflowY: 'auto' }}>{menuItems}</div>
<Separator />
<AddItem {...addItemProps}>Add item</AddItem>
</MenuView>
Expand Down
2 changes: 1 addition & 1 deletion packages/autocomplete/src/examples/multiselect.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const MoreAnchor = styled(Anchor)`
}
})}
>
<div style={{ height: '150px', overflowY: 'auto' }}>
<div style={{ maxHeight: '150px', overflowY: 'auto' }}>
{getMatchingMenuItems(
state.inputValue,
state.selectedKeys,
Expand Down
10 changes: 9 additions & 1 deletion utils/styleguide/styleguide.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const {
zdColorBlue600,
zdColorGrey100,
zdColorKale400,
zdColorRed600
zdColorRed600,
zdFontSizeMd
} = require('@zendeskgarden/css-variables');
const packageManifest = require(path.resolve('package.json'));
const customStyleguideConfig = require(path.resolve('styleguide.config.js'));
Expand Down Expand Up @@ -46,6 +47,13 @@ const defaultStyleguideConfig = {
type: zdColorRed600
}
},
styles: {
StyleGuide: {
'@global body': {
fontSize: zdFontSizeMd
}
}
},
template: {
lang: 'en',
head: {
Expand Down