Skip to content
Draft
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: 2 additions & 0 deletions sample-runner/sandstone/src/EnactImporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import BodyText from '@enact/sandstone/BodyText';
import Button from '@enact/sandstone/Button';
import Checkbox from '@enact/sandstone/Checkbox';
import CheckboxItem from '@enact/sandstone/CheckboxItem';
import ColorPicker from '@enact/sandstone/ColorPicker';
import ContextualMenuDecorator from '@enact/sandstone/ContextualMenuDecorator';
import ContextualPopupDecorator from '@enact/sandstone/ContextualPopupDecorator';
import DatePicker, {dateToLocaleString} from '@enact/sandstone/DatePicker';
Expand Down Expand Up @@ -65,6 +66,7 @@ const sandstoneExports = {
Button,
Checkbox,
CheckboxItem,
ColorPicker,
ContextualMenuDecorator,
ContextualPopupDecorator,
DatePicker,
Expand Down
3 changes: 2 additions & 1 deletion src/components/EnactLiveEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ export default class EnactLiveEdit extends Component {
const theme = getThemeName(this.props.name);
const dropdownClass = theme === 'agate' ? css.dropdownAgate : css.dropdownSandstoneMoonstone;
const dropdown = this.props.code.includes('Dropdown') ? dropdownClass : '';
const colorPicker = this.props.code.includes('ColorPicker') ? css.colorPickerSandstone : '';
return (
// eslint-disable-next-line jsx-a11y/iframe-has-title
<iframe
className={`${css.frame} ${dropdown}`}
className={`${css.frame} ${dropdown} ${colorPicker}`}
ref={this.setFrame}
src={withPrefix(`/${theme}-runner/index.html`)}
/>
Expand Down
4 changes: 4 additions & 0 deletions src/components/EnactLiveEdit.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
height: 531px;
}

.colorPickerSandstone {
height: 330px;
}

.frame {
border: none;
width: 100%;
Expand Down